summaryrefslogtreecommitdiff
path: root/rm
diff options
context:
space:
mode:
authorJake Scott <scottj@sou.edu>2020-11-22 11:51:27 -0800
committerJake Scott <scottj@sou.edu>2020-11-22 11:51:27 -0800
commitdeda2254f33c31541296de688c2caeb49ab6ba9d (patch)
treeaaf209983e9259447bd39c65dde892fd5fff3de9 /rm
parentc34d0281bd6903a42a44e1e4504a204e3b7ee01f (diff)
shellcheck pass all functions
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