summaryrefslogtreecommitdiffstats
path: root/fb.in
diff options
context:
space:
mode:
Diffstat (limited to 'fb.in')
-rw-r--r--fb.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/fb.in b/fb.in
index d4d60cf..c2e0af4 100644
--- a/fb.in
+++ b/fb.in
@@ -155,7 +155,10 @@ TMPDIR="`mktemp -d "/tmp/fb.XXXXXX"`"
trap "rm -rf '${TMPDIR}'" EXIT TERM
if [ "$DELETE" ] || [ "$GET" ]; then
- [ $# -eq 0 ] && exit 1;
+ if [ $# -eq 0 ]; then
+ echo "Error: no ID specified"
+ exit 1
+ fi
for i in "$@"; do
i=$(id_from_arg "$i")
if [ "$DELETE" ]; then