summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions11
1 files changed, 10 insertions, 1 deletions
diff --git a/functions b/functions
index b231eca..19159e6 100644
--- a/functions
+++ b/functions
@@ -171,7 +171,16 @@ stat_die() {
}
status() {
- [[ $1 = '-q' ]] && { local quiet=1; shift; }
+ local quiet
+ case $1 in
+ -q)
+ quiet=1
+ ;;&
+ -v)
+ # NOOP: supported for backwards compat
+ shift
+ ;;
+ esac
stat_busy "$1"
shift
if (( quiet )); then