slitaz-tools diff tinyutils/subox @ rev 208

calendar: no more hardcoded date
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 27 15:32:37 2008 +0000 (2008-05-27)
parents 6e50cf1c3f92
children db0e82bebc70
line diff
     1.1 --- a/tinyutils/subox	Thu Feb 14 23:02:37 2008 +0100
     1.2 +++ b/tinyutils/subox	Tue May 27 15:32:37 2008 +0000
     1.3 @@ -12,6 +12,9 @@
     1.4      exit 0
     1.5  fi
     1.6  
     1.7 +# Nothing to do if we are root
     1.8 +test $(id -u) = 0 && exec $1
     1.9 +
    1.10  # Keep binary name in a tmp file to be used by SU_DIALOG.
    1.11  echo "$1" > /tmp/subox-exec
    1.12