aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-05-05 10:24:16 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-05-05 10:24:16 +0300
commit823aca91eec1b7525b74b9cd66ae286c37f2da75 (patch)
tree399f2194488ec396c33fe4647a71e351ac9b9067 /debug.c
parentf4cc4f9178ac30cdee6b2fca38b42985af42e097 (diff)
downloadegawk-823aca91eec1b7525b74b9cd66ae286c37f2da75.tar.gz
egawk-823aca91eec1b7525b74b9cd66ae286c37f2da75.tar.bz2
egawk-823aca91eec1b7525b74b9cd66ae286c37f2da75.zip
Fix debugger 'run' command to fully restart.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index b55f3577..84e69d47 100644
--- a/debug.c
+++ b/debug.c
@@ -2801,7 +2801,7 @@ debug_prog(INSTRUCTION *pc)
unserialize(OPTION);
unsetenv("DGAWK_RESTART");
fprintf(out_fp, "Restarting ...\n");
- if (run[0] == 'T')
+ if (strcasecmp(run, "true") == 0)
(void) do_run(NULL, 0);
} else if (command_file != NULL) {