die if no config file is loaded
This commit is contained in:
parent
5e82137665
commit
61659865f2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue