mirror of
https://github.com/elisspace/rtinst.git
synced 2026-10-03 23:59:54 +00:00
Update rtadduser
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user