mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(ci): switch script args
This commit is contained in:
parent
c3892e11f4
commit
f1b1f3f27e
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ shift
|
|||
ARG_HOSTNAME=$(nf-hostname "$ARG_NODE")
|
||||
NIX_SSHOPTS=$(nf-sshopts "$ARG_NODE")
|
||||
|
||||
if [[ $# -gt 0 ]]; then
|
||||
if [[ $# -gt 0 ]] && [[ ${1-} != -* ]]; then
|
||||
ARG_METHOD=$1
|
||||
shift
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue