mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-27 07:52:25 +01:00
Fix SHELL
A semicolon after if(iflags.debug_fuzzer) was causing it to always do
nothing and return 0. This is either a bug or a very confusing way of
completely disabling it (it's already disabled if you don't set SHELL
at compile time).
(cherry picked from commit 2e7b8dc55e
)
This commit is contained in:
parent
257eb92490
commit
2f2bbab7d7
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ int
|
|||
dosh()
|
||||
{
|
||||
register char *str;
|
||||
if(iflags.debug_fuzzer);
|
||||
if(iflags.debug_fuzzer)
|
||||
return 0;
|
||||
if(child(0)) {
|
||||
if((str = getenv("SHELL")) != (char*)0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue