1
0
Fork 0
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:
Ron Nazarov 2024-05-07 11:34:00 +01:00 committed by demogorgon22
parent 257eb92490
commit 2f2bbab7d7

View file

@ -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)