]> git.ipfire.org Git - people/ms/network.git/commitdiff
ipsec: log a debug message when deleting a strongswan config
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 5 Aug 2017 10:30:31 +0000 (12:30 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Aug 2017 10:47:56 +0000 (12:47 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ipsec

index 14d5ef696911fde63b7124bf81d1411692efab72..38ee0eee8c995d44fec92561e658d86f6831db67 100644 (file)
@@ -404,6 +404,7 @@ ipsec_reload() {
                        return ${EXIT_ERROR}
                fi
        else
+               log DEBUG "Deleting strongswan config ${NETWORK_IPSEC_SWANCTL_CONNECTIONS_DIR}/${connection}.conf"
                unlink "${NETWORK_IPSEC_SWANCTL_CONNECTIONS_DIR}/${connection}.conf"
        fi