diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-07-11 11:28:10 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-07-11 11:28:10 -0700 |
commit | 98297e5234360c3e5e6a70f26b66904a6d94a39f (patch) | |
tree | 01e627cc9be08653e71c73926deb3b34ead10c2b /exec.cpp | |
parent | 3915faf3820ad25f326c98c1f7042f9e2670202c (diff) |
Teach while loops to not hang forever with no-execute
Fixes #1543
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -592,6 +592,7 @@ void exec_job(parser_t &parser, job_t *j) CHECK(j,); CHECK_BLOCK(); + /* If fish was invoked with -n or --no-execute, then no_exec will be set and we do nothing. */ if (no_exec) { return; |