aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/simplaret
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/simplaret')
-rwxr-xr-xtrunk/src/simplaret2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index c232ae8..7edd92a 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -78,7 +78,7 @@ function simplaret_import_gpg_keys {
if [ "$SIGNATURE_CHECKING" == "$on" ]; then
check_gnupg
if [ -f "$1/GPG-KEY" ] && [ -f "$1/GPG-KEY.old" ]; then
- if diff $1/GPG-KEY $1/GPG-KEY.old &> /dev/null; then
+ if ! diff $1/GPG-KEY $1/GPG-KEY.old &> /dev/null; then
gpg --import < $1/GPG-KEY
fi
elif [ -f "$1/GPG-KEY" ]; then