Author: nextgens
Date: 2008-05-03 15:01:10 +0000 (Sat, 03 May 2008)
New Revision: 19703

Modified:
   trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh
Log:
new_installer: fix a bug I've just introduced

Modified: trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh     2008-05-03 
14:52:32 UTC (rev 19702)
+++ trunk/apps/new_installer/res/unix/bin/remove_cronjob.sh     2008-05-03 
15:01:10 UTC (rev 19703)
@@ -1,6 +1,6 @@
 #!/bin/sh

-if grep -c " #FREENET AUTOSTART - 8888$" -gt 0
+if test grep -c " #FREENET AUTOSTART - 8888$" -gt 0
 then
        echo Found service in crontab, removing it...
        crontab -l | grep -v " #FREENET AUTOSTART - 8888$" | crontab -


Reply via email to