diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-03 08:05:26 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-03 08:05:26 -0300 |
commit | ab54d7171f5d469ddbaea5211d0d5693f1c96984 (patch) | |
tree | c7a60fece77065b325a5a25fc92ae74515cfa2e4 /build.sh | |
parent | a7a0034182027d0cb4935867fc5d56e0fd8e2b07 (diff) | |
download | pfsense-ab54d7171f5d469ddbaea5211d0d5693f1c96984.zip pfsense-ab54d7171f5d469ddbaea5211d0d5693f1c96984.tar.gz |
Remove redundant checks
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -288,22 +288,22 @@ if [ "${BUILDACTION}" != "images" ]; then fi if [ -n "${SNAPSHOTS}" -a -z "${DO_NOT_UPLOAD}" ]; then - if [ -z "${RSYNCIP}" -a -z "${DO_NOT_UPLOAD}" ]; then + if [ -z "${RSYNCIP}" ]; then echo ">>> ERROR: RSYNCIP is not defined" exit 1 fi - if [ -z "${RSYNCUSER}" -a -z "${DO_NOT_UPLOAD}" ]; then + if [ -z "${RSYNCUSER}" ]; then echo ">>> ERROR: RSYNCUSER is not defined" exit 1 fi - if [ -z "${RSYNCPATH}" -a -z "${DO_NOT_UPLOAD}" ]; then + if [ -z "${RSYNCPATH}" ]; then echo ">>> ERROR: RSYNCPATH is not defined" exit 1 fi - if [ -z "${RSYNCLOGS}" -a -z "${DO_NOT_UPLOAD}" ]; then + if [ -z "${RSYNCLOGS}" ]; then echo ">>> ERROR: RSYNCLOGS is not defined" exit 1 fi |