Page MenuHomeDevCentral

D1361.id3482.diff
No OneTemporary

D1361.id3482.diff

diff --git a/salt-wrapper.sh b/salt-wrapper.sh
--- a/salt-wrapper.sh
+++ b/salt-wrapper.sh
@@ -37,7 +37,7 @@
CONFIG_DIR=$(salt-get-config-dir)
CODE=$?
if [ $CODE -ne 0 ]; then
- exit $CODE
+ exit $CODE
fi
EXECUTABLE=$1
@@ -47,7 +47,7 @@
# master without a minion running, we need to run as root.
SALT_USER=salt
if [ "$EXECUTABLE" = "salt-call" ]; then
- contains "$*" "--local" && SALT_USER=root
+ contains "$*" "--local" && SALT_USER=root
fi
sudo -u $SALT_USER "$EXECUTABLE" --config-dir="$CONFIG_DIR" "$@"

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 1, 14:55 (18 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2389608
Default Alt Text
D1361.id3482.diff (529 B)

Event Timeline