Do not use --quiet options since it always return EXIT_SUCCESS
This commit is contained in:
parent
2cfe8d8b35
commit
f3b4bf0c58
|
@ -117,7 +117,7 @@ function master_op () {
|
|||
|
||||
${MASTER_PREFIXCMD[$mi]} \
|
||||
su -s /bin/sh \
|
||||
-c "$MASTER_RUNNER $op --quiet ${MASTER_OPTIONS[$mi]} ${MASTER_BASEDIR[$mi]}" \
|
||||
-c "$MASTER_RUNNER $op ${MASTER_OPTIONS[$mi]} ${MASTER_BASEDIR[$mi]} > /dev/null" \
|
||||
- ${MASTER_USER[$mi]}
|
||||
return $?
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ function slave_op () {
|
|||
fi
|
||||
${SLAVE_PREFIXCMD[$mi]} \
|
||||
su $suopt - ${SLAVE_USER[$mi]} \
|
||||
-c "$SLAVE_RUNNER $op --quiet ${SLAVE_OPTIONS[$mi]} ${SLAVE_BASEDIR[$mi]}"
|
||||
-c "$SLAVE_RUNNER $op ${SLAVE_OPTIONS[$mi]} ${SLAVE_BASEDIR[$mi]} > /dev/null"
|
||||
return $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue