From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DCEDF1384BA for ; Tue, 15 Jan 2013 17:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEE4921C016; Tue, 15 Jan 2013 17:46:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4335821C016 for ; Tue, 15 Jan 2013 17:46:46 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28BF333DAC3 for ; Tue, 15 Jan 2013 17:46:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 58D53E4073 for ; Tue, 15 Jan 2013 17:46:43 +0000 (UTC) From: "Wim Muskee" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wim Muskee" Message-ID: <1358271989.ca912c79103dbc4a7dc3b4729ba6e33258fb05c6.wim@gentoo> Subject: [gentoo-commits] proj/localepurge:master commit in: / X-VCS-Repository: proj/localepurge X-VCS-Files: localepurge X-VCS-Directories: / X-VCS-Committer: wim X-VCS-Committer-Name: Wim Muskee X-VCS-Revision: ca912c79103dbc4a7dc3b4729ba6e33258fb05c6 X-VCS-Branch: master Date: Tue, 15 Jan 2013 17:46:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 38153f01-2844-499c-9f9a-038beab6d59b X-Archives-Hash: b9a7649d8a376b2466aad62f3a7b6f54 commit: ca912c79103dbc4a7dc3b4729ba6e33258fb05c6 Author: Wim Muskee gmail com> AuthorDate: Tue Jan 15 17:46:29 2013 +0000 Commit: Wim Muskee gmail com> CommitDate: Tue Jan 15 17:46:29 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/localepurge.git;a=commit;h=ca912c79 Fix crash when cleared size = 0 (#452208). --- localepurge | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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