fix: suppress error on missing stackfile
This commit is contained in:
parent
203626f7e2
commit
5eecfcb2e7
1 changed files with 1 additions and 1 deletions
2
dc-ops
2
dc-ops
|
@ -12,7 +12,7 @@ msg() { echo "$*"; }
|
|||
BASEDIR=$(dirname $0)
|
||||
|
||||
# use list from file or passed parameters
|
||||
STACKLIST=$(cat $BASEDIR/stacklist)
|
||||
STACKLIST=$(cat $BASEDIR/stacklist 2>/dev/null)
|
||||
[[ $# -gt 0 ]] && STACKLIST=$*
|
||||
|
||||
# iterate list
|
||||
|
|
Loading…
Reference in a new issue