All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit b3b60e4e authored by Leigh B. Stoller's avatar Leigh B. Stoller

FIx up case for a nonexistent NS file.

parent f5266935
......@@ -68,6 +68,15 @@ $nonsfile = 0;
if (!isset($exp_nsfile) ||
strcmp($exp_nsfile, "") == 0 ||
strcmp($exp_nsfile, "none") == 0) {
#
# Catch an invalid filename and quit now.
#
if (strcmp($exp_nsfile_name, "")) {
USERERROR("The NS file '$exp_nsfile_name' does not appear to be a ".
"valid filename. Please go back and try again.", 1);
}
$nonsfile = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment