diff --git a/opentrafficshaper/plugins/configmanager.pm b/opentrafficshaper/plugins/configmanager.pm index c4f7da29a5449e224d478539469578f1785cd930..0679164d5c7347e95aa9d598e0518ec85c41f715 100644 --- a/opentrafficshaper/plugins/configmanager.pm +++ b/opentrafficshaper/plugins/configmanager.pm @@ -3054,7 +3054,7 @@ sub _load_statefile if (! tie %stateHash, 'Config::IniFiles', ( -file => $config->{'statefile'} )) { # Check if we got errors, if we did use them for our reason my @errors = @Config::IniFiles::errors; - my $reason = $1 || join('; ',@errors) || "Config file blank?"; + my $reason = $1 || join('; ',@errors); $logger->log(LOG_ERR,"[CONFIGMANAGER] Failed to open statefile '%s': %s",$config->{'statefile'},$reason);