aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchange9
1 files changed, 7 insertions, 2 deletions
diff --git a/change b/change
index 6fe7925..bb21de3 100755
--- a/change
+++ b/change
@@ -7,5 +7,10 @@ export CHANGE_LOG_IGNORE_PATTERN_PATH="$FILTER_PATH/$(basename $1).filter"
LD_PRELOAD=libChangeLog.so eval "$@"
-cat $CHANGE_LOG_TARGET
-rm -f $CHANGE_LOG_TARGET
+if [ -e $CHANGE_LOG_TARGET ]
+then
+ cat $CHANGE_LOG_TARGET
+ rm -f $CHANGE_LOG_TARGET
+else
+ false
+fi