]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
wireguard-functions.pl: Don't crash when configuration files don't exist
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Apr 2025 09:52:01 +0000 (11:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Apr 2025 09:52:01 +0000 (11:52 +0200)
commit2e3fb140be3fc4f4788b4c07a0788677f4d6e907
tree6032951fb233e36c420b79ff9c115ba60912f73e
parentae979c163245dbce8fa52262c7f12e4c0c9ae060
wireguard-functions.pl: Don't crash when configuration files don't exist

This should never really happen, but since we include this file in
pretty much everything Perl, we should not fail.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/wireguard-functions.pl