Browse Source

remove `set -e` on explorers (they should be able to fail gracefully)

4.10
tom 4 years ago
parent
commit
085b2a2b10
  1. 2
      cdist/conf/explorer/disks
  2. 2
      cdist/conf/explorer/is-freebsd-jail
  3. 2
      cdist/conf/explorer/kernel_name
  4. 2
      cdist/conf/type/__daemontools_service/explorer/svc
  5. 2
      cdist/conf/type/__go_get/explorer/go-executable

2
cdist/conf/explorer/disks vendored

@ -1,3 +1,3 @@
#!/bin/sh -e
#!/bin/sh
cd /dev
echo sd? hd? vd?

2
cdist/conf/explorer/is-freebsd-jail vendored

@ -1,2 +1,2 @@
#!/bin/sh -e
#!/bin/sh
sysctl -n security.jail.jailed 2>/dev/null | grep "1" || true

2
cdist/conf/explorer/kernel_name vendored

@ -1,2 +1,2 @@
#!/bin/sh -e
#!/bin/sh
uname -s

2
cdist/conf/type/__daemontools_service/explorer/svc vendored

@ -1,2 +1,2 @@
#!/bin/sh -e
#!/bin/sh
command -v svc || true

2
cdist/conf/type/__go_get/explorer/go-executable vendored

@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/sh
[ -f /etc/environment ] && . /etc/environment
[ -f /etc/profile ] && . /etc/profile
go version 2>/dev/null || true

Loading…
Cancel
Save