diff options
Diffstat (limited to 'files/core-functions.sh')
-rw-r--r-- | files/core-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh index db7cd5d..85ceb2c 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -7,7 +7,7 @@ # Clean-up tmp and lock files # function cleanup() { - local retval=0 + local retval=${PENDING_UPDATES:-0} [ "$SPINNING" = "off" ] || tput cnorm if [ -e $TMPDIR/error.log ]; then retval=1 |