profile.d: Avoid warnings for undefined variables with 'set -u'
See: https://gitlab.gnome.org/GNOME/vte/-/issues/285 https://gitlab.gnome.org/GNOME/vte/-/commit/e148105691926cbd https://github.com/containers/toolbox/pull/936
This commit is contained in:
parent
5c51809a35
commit
95dbb5ed49
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# shellcheck shell=sh
|
||||
|
||||
# shellcheck disable=SC2153
|
||||
[ "$BASH_VERSION" != "" ] || [ "$ZSH_VERSION" != "" ] || return 0
|
||||
[ "${BASH_VERSION:-}" != "" ] || [ "${ZSH_VERSION:-}" != "" ] || return 0
|
||||
[ "$PS1" != "" ] || return 0
|
||||
|
||||
toolbox_config="$HOME/.config/toolbox"
|
||||
|
|
Loading…
Reference in a new issue