Remove the temporary files to permit the automatic tmp cleanup.
This commit is contained in:
@@ -50,6 +50,9 @@ echo -n "Removing home directory..."
|
||||
rm -rf /tmp/test-newusers
|
||||
echo "OK"
|
||||
|
||||
# cleanup
|
||||
rm -f tmp/home_ls-a
|
||||
|
||||
log_status "$0" "SUCCESS"
|
||||
restore_config
|
||||
trap '' 0
|
||||
|
||||
@@ -52,6 +52,9 @@ echo -n "Removing home directory..."
|
||||
rm -rf /tmp/test-newusers
|
||||
echo "OK"
|
||||
|
||||
# cleanup
|
||||
rm -f tmp/home_ls-a
|
||||
|
||||
log_status "$0" "SUCCESS"
|
||||
restore_config
|
||||
trap '' 0
|
||||
|
||||
@@ -51,6 +51,9 @@ echo -n "Removing home directory..."
|
||||
rm -rf /tmp/test-newusers
|
||||
echo "OK"
|
||||
|
||||
# cleanup
|
||||
rm -f tmp/home_ls-a
|
||||
|
||||
log_status "$0" "SUCCESS"
|
||||
restore_config
|
||||
trap '' 0
|
||||
|
||||
@@ -51,6 +51,9 @@ echo -n "Removing home directory..."
|
||||
rm -rf /tmp/test-newusers
|
||||
echo "OK"
|
||||
|
||||
# cleanup
|
||||
rm -f tmp/home_ls-a
|
||||
|
||||
log_status "$0" "SUCCESS"
|
||||
restore_config
|
||||
trap '' 0
|
||||
|
||||
@@ -60,6 +60,9 @@ echo -n "Removing home directories..."
|
||||
rm -rf /tmp/test-newusers /tmp/test-newusers2
|
||||
echo "OK"
|
||||
|
||||
# cleanup
|
||||
rm -f tmp/home_ls-a tmp/home_ls-a.old
|
||||
|
||||
log_status "$0" "SUCCESS"
|
||||
restore_config
|
||||
trap '' 0
|
||||
|
||||
Reference in New Issue
Block a user