Run with set -e.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
#set -e
|
||||
set -e
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
@@ -39,8 +39,8 @@ diff -au data/userdel.err tmp/userdel.err
|
||||
echo "error message OK."
|
||||
rm -f tmp/userdel.err
|
||||
|
||||
kill %1
|
||||
wait %1
|
||||
kill %1 || true
|
||||
wait %1 || true
|
||||
|
||||
echo -n "Check the passwd file..."
|
||||
../../common/compare_file.pl config/etc/passwd /etc/passwd
|
||||
|
||||
Reference in New Issue
Block a user