Update rtadduser

This commit is contained in:
arakasi72
2016-05-09 22:20:13 +01:00
parent 74446960cc
commit c8a5e415ba
+1 -1
View File
@@ -140,7 +140,7 @@ echo "$low_count-$high_count"
}
# set and prepare user
if [ -z "$SUDO_USER" -a "$LOGNAME" != "root" ]; then
if [ "$LOGNAME" != "root" ]; then
echo "Must be run from root or using sudo" && exit 1
fi