From 8937ffd560db44d5f16d94388d819278c13aa9d6 Mon Sep 17 00:00:00 2001 From: Felicity Tarnell Date: Fri, 1 May 2015 14:07:24 +0100 Subject: [PATCH] scripts/latest.sh: if file is unchanged, do not exit with an error --- scripts/latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/latest.sh b/scripts/latest.sh index f451f6fb2..072abbe31 100755 --- a/scripts/latest.sh +++ b/scripts/latest.sh @@ -121,7 +121,7 @@ elif [ "$1" = "edit" -o "$1" = "vi" ]; then $editor "${LTMP}" if cmp "${LTMP}" "${LTMP2}" >/dev/null; then printf >&2 -- '%s: no changes; exiting\n' "$0" - exit 1 + exit fi diff -u "${LTMP2}" "${LTMP}"