summaryrefslogtreecommitdiff
path: root/rm
diff options
context:
space:
mode:
Diffstat (limited to 'rm')
-rwxr-xr-xrm2
1 files changed, 2 insertions, 0 deletions
diff --git a/rm b/rm
index 0c1ee10..f85a305 100755
--- a/rm
+++ b/rm
@@ -23,4 +23,6 @@ if [ -d "$target" ]; then
rm -rf "${base_dir:?}/${target:?}" \
&& echo "${target} deleted"
fi
+else
+ echo "$target does not exist."
fi