slitaz-tools diff tinyutils/subox @ rev 234

man: add 'No manual entry'
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 12 09:22:54 2008 +0000 (2008-07-12)
parents 6e50cf1c3f92
children db0e82bebc70
line diff
     1.1 --- a/tinyutils/subox	Thu Feb 14 23:02:37 2008 +0100
     1.2 +++ b/tinyutils/subox	Sat Jul 12 09:22:54 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