summaryrefslogtreecommitdiff
path: root/ctdb/tests/UNIT/eventscripts/stubs/gstack
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/UNIT/eventscripts/stubs/gstack')
-rwxr-xr-xctdb/tests/UNIT/eventscripts/stubs/gstack6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/tests/UNIT/eventscripts/stubs/gstack b/ctdb/tests/UNIT/eventscripts/stubs/gstack
index 9ee41cca65a..1dec2354efb 100755
--- a/ctdb/tests/UNIT/eventscripts/stubs/gstack
+++ b/ctdb/tests/UNIT/eventscripts/stubs/gstack
@@ -2,12 +2,12 @@
pid="$1"
-if [ -n "$FAKE_PS_MAP" ] ; then
+if [ -n "$FAKE_PS_MAP" ]; then
command=$(echo "$FAKE_PS_MAP" |
- awk -v pid="$pid" '$1 == pid { print $2 }')
+ awk -v pid="$pid" '$1 == pid { print $2 }')
fi
-if [ -z "$command" ] ; then
+if [ -z "$command" ]; then
command="smbd"
fi