More logging cleanup

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5114 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2006-12-12 17:49:52 +00:00
parent 2e9eed3dfe
commit 837f977d6d
5 changed files with 19 additions and 25 deletions

View File

@@ -766,12 +766,7 @@ restore_command() {
progress_message3 "Restoring Shorewall..."
if $SHOREWALL_SHELL $RESTOREPATH restore; then
progress_message3 "$PRODUCT restored from ${VARDIR}/$RESTOREFILE"
logger "$PRODUCT restored"
else
logger "ERROR:$PRODUCT restore failed"
fi
$SHOREWALL_SHELL $RESTOREPATH restore && progress_message3 "$PRODUCT restored from ${VARDIR}/$RESTOREFILE"
[ -n "$nolock" ] || mutex_off
else