aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index b65367e..8873bb5 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -1327,6 +1327,7 @@ sub ask_opts {
while ($opts !~ $kv_regex) {
warn "Invalid input received.\n";
$opts = $ask->();
+ return() unless $opts;
}
return $opts;
}