summaryrefslogtreecommitdiffstats
path: root/bin/hush
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-18 19:15:52 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-18 19:17:13 -0500
commit72064a3bd3c56d826b2f7f664b0ea66f3129171e (patch)
tree0fdc150f49107c1baf96f67139f7228c83182743 /bin/hush
parent756d176ba5a6b5916b109089e633126e381c96fe (diff)
downloadconf-72064a3bd3c56d826b2f7f664b0ea66f3129171e.tar.gz
conf-72064a3bd3c56d826b2f7f664b0ea66f3129171e.zip
replace sudo alias with a script
that way other scripts that call sudo also use it
Diffstat (limited to 'bin/hush')
-rwxr-xr-xbin/hush/sudo5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/hush/sudo b/bin/hush/sudo
new file mode 100755
index 0000000..1ff8b23
--- /dev/null
+++ b/bin/hush/sudo
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -eu
+set -o pipefail
+
+exec /usr/bin/sudo -A "$@"