[Fai-commit] r3147 - trunk/lib

fai-repository at svn.debian.org fai-repository at svn.debian.org
Mon Dec 5 13:38:22 UTC 2005


Author: lange
Date: 2005-12-05 13:38:22 +0000 (Mon, 05 Dec 2005)
New Revision: 3147

Modified:
   trunk/lib/fai-savelog
Log:
fix wrong symlink creation


Modified: trunk/lib/fai-savelog
===================================================================
--- trunk/lib/fai-savelog	2005-12-05 12:51:21 UTC (rev 3146)
+++ trunk/lib/fai-savelog	2005-12-05 13:38:22 UTC (rev 3147)
@@ -39,7 +39,7 @@
     find $LOGDIR -xdev -size 0 -type f -exec rm {} \;
     mkdir -p $thislog
     cp -a $LOGDIR/* $thislog
-    ln -sf $HOSTNAME $logbase/localhost
+    ln -snf $HOSTNAME $logbase/localhost
     ln -snf $FAI_ACTION-$FAI_RUNDATE $logbase/$HOSTNAME/last-$FAI_ACTION
     ln -snf $FAI_ACTION-$FAI_RUNDATE $logbase/$HOSTNAME/last
 }




More information about the Fai-commit mailing list