die if no config file is loaded

This commit is contained in:
qorg11 2021-11-03 14:32:30 +01:00
parent 5e82137665
commit 61659865f2
No known key found for this signature in database
GPG key ID: 343FC20A4ACA62B9

View file

@ -21,7 +21,7 @@ my $time = new Time::Seconds;
# Configuration
my $conf_path = $ENV{PTCLIRC} || "$ENV{HOME}/.ptclirc";
do $conf_path;
do $conf_path or die "Could not load configuration: $!";
# Prototypes