WIP: shellcheck cleanup

This commit is contained in:
Scott B 2020-06-12 12:22:54 +00:00
parent dd02dc0e59
commit e5f86cb1b4
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# shellcheck disable=SC2064
case "$(readlink /proc/$$/exe)" in */bash) set -euo pipefail ;; *) set -eu ;; esac case "$(readlink /proc/$$/exe)" in */bash) set -euo pipefail ;; *) set -eu ;; esac
# pve-nag-buster (v03) https://github.com/foundObjects/pve-nag-buster # pve-nag-buster (v03) https://github.com/foundObjects/pve-nag-buster

View file

@ -21,7 +21,7 @@
NAGTOKEN="data.status !== 'Active'" NAGTOKEN="data.status !== 'Active'"
NAGFILE="/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js" NAGFILE="/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js"
SCRIPT="$(basename $0)" SCRIPT="$(basename "$0")"
# disable license nag: https://johnscs.com/remove-proxmox51-subscription-notice/ # disable license nag: https://johnscs.com/remove-proxmox51-subscription-notice/