added correct test
This commit is contained in:
@@ -13,7 +13,7 @@ then
|
||||
fi
|
||||
|
||||
id $backupuser > /dev/null 2>&1
|
||||
if [ $? ! -eq 0 ]
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "Please set a valid user within this script"
|
||||
exit 2
|
||||
|
||||
Reference in New Issue
Block a user