fix: shellcheck errors in ~/bin
This commit is contained in:
parent
a76f0a9b43
commit
f8b873255e
@ -1,4 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
DBUS_SESSION_BUS_ADDRESS= # https://wiki.archlinux.org/title/Podman#Permission_denied:_OCI_permission_denied
|
||||
CRI=(podman)
|
||||
|
@ -73,7 +73,7 @@ while getopts hcCviInar o; do
|
||||
IMG_OPT='-a'
|
||||
;;
|
||||
r)
|
||||
exec sudo -- "$0" "$(sed 's/r//' <<< "${@:1}")"
|
||||
echo exec sudo -- "$0" "${@/r/}"
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
DBUS_SESSION_BUS_ADDRESS= # https://wiki.archlinux.org/title/Podman#Permission_denied:_OCI_permission_denied
|
||||
CRI=(podman)
|
||||
|
Loading…
Reference in New Issue
Block a user