diff options
Diffstat (limited to 'examples/mkhours')
-rwxr-xr-x | examples/mkhours | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mkhours b/examples/mkhours index 1e0168a..d9c8459 100755 --- a/examples/mkhours +++ b/examples/mkhours @@ -40,7 +40,7 @@ if [ -f $outfile ]; then errorcode=0 diff -ruN $outfile $outfile~ || errorcode=$? case $errorcode in - 0) echo "No changes from previous version"; exit;; + 0) echo "No changes from previous version"; rm $outfile~; exit;; 1) printf "Above are changes from previous version. ";; *) echo >&2 "ERROR: internal diff error!"; exit $errorcode;; esac |