__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:
matze 2020-09-05 22:28:48 +02:00
parent 9d330a91bc
commit b10f6b71d0
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,4 @@
#!/bin/sh
echo "set -e"
#!/bin/sh -e
old_version="$(cat "$__object/explorer/version")"
VERSION=$(cat "$__object/parameter/version")

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh -e
os=$(cat "$__global/explorer/os")