diff --git a/nano-regress b/nano-regress index 92f1086f..926ae2fe 100755 --- a/nano-regress +++ b/nano-regress @@ -16,7 +16,8 @@ foreach my $name (@combos) { my @args = @$name; my $pct = $i / $#combos * 100; printf "Trying with options: @args, %d%% done...\n", $pct; - if (system "(./configure @args && make clean all) >/dev/null 2>&1") { + system("(./configure @args && make clean all) >/dev/null 2>&1"); + if ($? != 0) { print "Build failed for args: @args\n"; print "Try running make to reproduce\n"; exit(1); diff --git a/src/nano.c b/src/nano.c index c61b11cc..e59526e2 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1615,9 +1615,7 @@ int do_input(bool *meta_key, bool *func_key, bool *s_or_t, bool #endif } } -#ifndef NANO_TINY } -#endif *finished = TRUE; break; }