diff options
Diffstat (limited to '')
| -rwxr-xr-x | chroot/make_devices.sh | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/chroot/make_devices.sh b/chroot/make_devices.sh index f4191bd..311ded5 100755 --- a/chroot/make_devices.sh +++ b/chroot/make_devices.sh @@ -1,6 +1,6 @@  #!/bin/sh -if [ ! "$EUID" = 0 ];then +if [ ! "$(id -u)" = 0 ];then    echo "this scripts must be run as root"    exit 1;  fi | 
