summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-02-13 20:29:21 +0100
committermakefu <root@pigstarter.de>2014-02-13 20:29:21 +0100
commit3d8232b6effc27bea833f0f99ab80f7c740d5433 (patch)
tree5f004e61d87ba0ced697087608e35bf333e79cee /ship
parentcd0483f44a720e7f33cd75a7c9eeb454f5f2328d (diff)
parent8923831a4e794e5ccd6c485da71d8a18add789e0 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'ship')
-rwxr-xr-xship/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/ship/build b/ship/build
index 730f72ee..0e8e1013 100755
--- a/ship/build
+++ b/ship/build
@@ -43,7 +43,8 @@ EOF
## usage: #@strict -> build_strict_mode \1
build_strict_mode() { cat<<EOF
$1a\\
-set -euf
+set -euf\\
+(set -o posix 2>/dev/null) && set -o posix || :
EOF
}