mirror of
https://github.com/andrewpayne68/proxmox-nag-buster.git
synced 2025-01-18 16:37:51 +00:00
WIP: shellcheck cleanup
This commit is contained in:
parent
dd02dc0e59
commit
e5f86cb1b4
|
@ -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
|
||||||
|
|
|
@ -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/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue