position can not be empty

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/shellcheck
Steven Armstrong 7 years ago
parent fb26894cbd
commit 4516ee0baa
  1. 3
      cdist/conf/type/__line/explorer/state

@ -22,6 +22,9 @@ if [ -f "$__object/parameter/before" ]; then
position="before"
elif [ -f "$__object/parameter/after" ]; then
position="after"
else
# By default we append to the end of the file.
position="end"
fi
if [ -f "$__object/parameter/regex" ]; then

Loading…
Cancel
Save