diff options
Diffstat (limited to 'doc/sync/primary-backup.sh')
-rwxr-xr-x | doc/sync/primary-backup.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/sync/primary-backup.sh b/doc/sync/primary-backup.sh index 913ef7c..87a3ebf 100755 --- a/doc/sync/primary-backup.sh +++ b/doc/sync/primary-backup.sh @@ -28,21 +28,27 @@ case "$1" in # $CONNTRACKD_BIN -C $CONNTRACKD_CONFIG -c if [ $? -eq 1 ] + then logger "ERROR: failed to invoke conntrackd -c" + fi # # flush the internal and the external caches # $CONNTRACKD_BIN -C $CONNTRACK_CONFIG -f if [ $? -eq 1 ] + then logger "ERROR: failed to invoke conntrackd -f" + fi # # resynchronize my internal cache to the kernel table # $CONNTRACKD_BIN -C $CONNTRACKD_CONFIG -R if [ $? -eq 1 ] + then logger "ERROR: failed to invoke conntrackd -R" + fi ;; backup) # @@ -75,7 +81,9 @@ case "$1" in # $CONNTRACKD_BIN -C $CONNTRACKD_CONFIG -t if [ $? -eq 1 ] + then logger "ERROR: failed to invoke conntrackd -t" + fi # # request resynchronization with master firewall replica (if any) @@ -83,7 +91,9 @@ case "$1" in # $CONNTRACKD_BIN -C $CONNTRACKD_CONFIG -n if [ $? -eq 1 ] + then logger "ERROR: failed to invoke conntrackd -n" + fi ;; *) logger "ERROR: unknown state transition" |