summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2022-08-18 16:27:55 +0200
committerFredrik Domeij <fredrik.domeij@umu.se>2022-08-18 16:27:55 +0200
commit6e0569dd414c00c0c7e3bad0a9683b97118148d5 (patch)
treee80698f02a4e5af819e9f62e6f91e1fd46e03086
parentc718c3e488701d5253e5c79e398a670449ec3e7f (diff)
scripts/remove_entity.sh: complain if file not found
-rwxr-xr-xscripts/remove_entity.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/remove_entity.sh b/scripts/remove_entity.sh
index 98056013..cf67e74b 100755
--- a/scripts/remove_entity.sh
+++ b/scripts/remove_entity.sh
@@ -71,4 +71,6 @@ if [ -r "$file" ]; then
fi
done
git diff
+else
+ error "File not found: $file"
fi