summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-11-05 17:41:06 +0100
committerAlejandro Colomar <alx@kernel.org>2023-11-05 17:41:06 +0100
commit438901f51116b7ec72d17cab1980d364b556e73f (patch)
treeed2cf11bae3137f0c48bb5051d2165bdb78cce40
parente0a3f7648f73cd9327e260a8416e7c5cb0804754 (diff)
bin/grepc: srcfix (Escape '?' in bash(1) case following getopts(1))
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rwxr-xr-xbin/grepc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/grepc b/bin/grepc
index af6b600..b340c65 100755
--- a/bin/grepc
+++ b/bin/grepc
@@ -128,7 +128,7 @@ grepc_parse_cmd()
esac;
t='yes';
;;
- ?)
+ \?)
exit 1; # getopts(1) prints an error msg.
;;
esac;