summaryrefslogtreecommitdiffstats
path: root/files/core-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/core-functions.sh')
-rw-r--r--files/core-functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index fa02653..0db3ffe 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -25,7 +25,8 @@ One or more errors occurred while slackpkg was running:
if [ "$DELALL" = "on" ] && [ "$NAMEPKG" != "" ]; then
rm $CACHEPATH/$NAMEPKG &>/dev/null
fi
- ( rm -f /var/lock/slackpkg.$$ && rm -rf $TMPDIR ) &>/dev/null
+ rm -f /var/lock/slackpkg.$$
+ rm -rf $TMPDIR
exit ${retval}
}
trap 'cleanup' 2 14 15 # trap CTRL+C and kill