diff options
| author | Suleyman Farajli <suleyman@farajli.net> | 2025-11-25 22:40:16 +0400 |
|---|---|---|
| committer | Suleyman Farajli <suleyman@farajli.net> | 2025-11-25 22:40:16 +0400 |
| commit | 7c19172f87b6fe35dffd8f9a252c3c10efe13aa2 (patch) | |
| tree | f42dd1ffd3440200977ea4c38950458f57bd534c /scripts/cli/svol | |
| parent | af078c55f03e2884b883abb095c623b96fa97ec5 (diff) | |
fix(scripts): fix shellcheck errors and warnings
Diffstat (limited to 'scripts/cli/svol')
| -rwxr-xr-x | scripts/cli/svol | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/cli/svol b/scripts/cli/svol index 64f4a2f..d6f169c 100755 --- a/scripts/cli/svol +++ b/scripts/cli/svol @@ -23,10 +23,10 @@ volume_handle check_program while getopts "i:d:s:pth" option; do case "${option}" in - i) run --reload-status "volume_handle up ${OPTARG}" ;; - d) run --reload-status "volume_handle down ${OPTARG}" ;; - s) run --reload-status "volume_handle set ${OPTARG}" ;; - t) run --reload-status "volume_handle toggle" ;; + i) run --reload-status volume_handle up "${OPTARG}" ;; + d) run --reload-status volume_handle down "${OPTARG}" ;; + s) run --reload-status volume_handle set "${OPTARG}" ;; + t) run --reload-status volume_handle toggle ;; p) volume_handle get-current ;; h) help ;; |
