Use -n, rename variable, specify exit code 0
This commit is contained in:
parent
8edd181ab7
commit
4e671baf51
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
set -o errtrace
|
||||
|
||||
[[ ! -z "$SNAP_PAC_IGNORE" ]] && { echo "snap-pac: skipping..."; exit; }
|
||||
[[ -n "$SNAP_PAC_SKIP" ]] && { echo "snap-pac: skipping..."; exit 0; }
|
||||
|
||||
readonly argv0="snap-pac"
|
||||
readonly SNAPPAC_CONFIG_FILE=/etc/snap-pac.conf
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue