Commit 1eb5bfd2 authored by David Anderson's avatar David Anderson
Browse files

Fixed minor bug where debug mode was always enabled.

parent 7c325b47
...@@ -174,7 +174,7 @@ $args .= " -x START"; ...@@ -174,7 +174,7 @@ $args .= " -x START";
$args .= " STARTAT=1 STOPAT=3" $args .= " STARTAT=1 STOPAT=3"
if ($quick); if ($quick);
$args .= " DEBUG=$debug" $args .= " DEBUG=$debug"
if (defined($debug)); if ($debug);
system($args); system($args);
if ($?) { if ($?) {
...@@ -186,7 +186,7 @@ print "Linktest in progress...\n"; ...@@ -186,7 +186,7 @@ print "Linktest in progress...\n";
print "Quick termination requested.\n" print "Quick termination requested.\n"
if ($quick); if ($quick);
print "Debug mode requested.\n" print "Debug mode requested.\n"
if (defined($debug)); if ($debug);
# wait for the shutdown event. # wait for the shutdown event.
$args = starter(); $args = starter();
......
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