Make the WEBGUI_CONFIG environment variable warning messages more instructive.

This commit is contained in:
Colin Kuskie 2008-07-18 17:28:41 +00:00
parent 994ac85181
commit 5e97a877d5

View file

@ -53,12 +53,12 @@ BEGIN {
$CONFIG_FILE = $ENV{ WEBGUI_CONFIG };
unless ( defined $CONFIG_FILE ) {
warn qq/Enviroment variable WEBGUI_CONFIG must be set.\n/;
warn qq/Enviroment variable WEBGUI_CONFIG must be set to the full path to a WebGUI config file.\n/;
exit(1);
}
unless ( $CONFIG_FILE ) {
warn qq/Enviroment variable WEBGUI_CONFIG must not be empty.\n/;
warn qq/Enviroment variable WEBGUI_CONFIG must not be empty. It must be set to the full path of a WebGUI config file.\n/;
exit(1);
}