livecd: functions-live - argh

havner havner at pld-linux.org
Tue Jul 4 15:52:02 CEST 2006


Author: havner                       Date: Tue Jul  4 13:52:02 2006 GMT
Module: livecd                        Tag: HEAD
---- Log message:
- argh

---- Files affected:
livecd:
   functions-live (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: livecd/functions-live
diff -u livecd/functions-live:1.14 livecd/functions-live:1.15
--- livecd/functions-live:1.14	Tue Jul  4 15:51:03 2006
+++ livecd/functions-live	Tue Jul  4 15:51:57 2006
@@ -131,7 +131,7 @@
 }
 
 check_root() {
-if [ "id -u" != "0" ]; then
+if [ "`id -u`" != "0" ]; then
 	echo "You must be root to run this script."
 	exit 1
 fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/livecd/functions-live?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list