From ca912c79103dbc4a7dc3b4729ba6e33258fb05c6 Mon Sep 17 00:00:00 2001 From: Wim Muskee Date: Tue, 15 Jan 2013 18:46:29 +0100 Subject: Fix crash when cleared size = 0 (#452208). --- localepurge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localepurge b/localepurge index e4699f9..fc06c7f 100755 --- a/localepurge +++ b/localepurge @@ -297,7 +297,7 @@ done # Calculating and reporting total disk space freed: if [ "$SHOWFREEDSPACE" = "enabled" ]; then - let TOTAL=$LOCALETOTAL+$MANTOTAL + TOTAL=$(($LOCALETOTAL + $MANTOTAL)) if test $TOTAL -lt 0; then TOTAL=0 fi -- cgit v1.2.3