1
Fork 0

Do not use --quiet options since it always return EXIT_SUCCESS

This commit is contained in:
Andriy Senkovych 2014-10-19 22:33:20 +03:00
parent 2cfe8d8b35
commit f3b4bf0c58
2 changed files with 2 additions and 2 deletions

View File

@ -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 $?
}

View File

@ -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 $?
}