position can not be empty
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
fb26894cbd
commit
4516ee0baa
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ if [ -f "$__object/parameter/before" ]; then
|
||||||
position="before"
|
position="before"
|
||||||
elif [ -f "$__object/parameter/after" ]; then
|
elif [ -f "$__object/parameter/after" ]; then
|
||||||
position="after"
|
position="after"
|
||||||
|
else
|
||||||
|
# By default we append to the end of the file.
|
||||||
|
position="end"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$__object/parameter/regex" ]; then
|
if [ -f "$__object/parameter/regex" ]; then
|
||||||
|
|
Loading…
Reference in a new issue