forked from ungleich-public/cdist-contrib
__netbox: avoid useless generated code-remote
Because `set -e` got printed all the time, the type __netbox always had some generated code for the remote side. This line was removed because this is already done by cdist when executing the code-remote script. Rather, the exit-on-error option was set to some scirpts (two ..).
This commit is contained in:
parent
9d330a91bc
commit
b10f6b71d0
2 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "set -e"
|
||||
#!/bin/sh -e
|
||||
|
||||
old_version="$(cat "$__object/explorer/version")"
|
||||
VERSION=$(cat "$__object/parameter/version")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh -e
|
||||
|
||||
os=$(cat "$__global/explorer/os")
|
||||
|
||||
|
|
Loading…
Reference in a new issue