← Commit list

dfa9de717

Mike Frysinger
Mike Frysinger
2009-04-03
FAILED Duration: 30s

Subject

simplify maybe_die() slightly

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+2 -1
@@ -615,7 +615,8 @@ static void maybe_die(const char *notice, const char *msg)
* but it SEGVs. ?! Oh well... explicit temp ptr works around that */
void FAST_FUNC (*fp)(const char *s, ...) = bb_error_msg_and_die;
#if ENABLE_HUSH_INTERACTIVE
- fp = (G_interactive_fd ? bb_error_msg : bb_error_msg_and_die);
+ if (G_interactive_fd)
+ fp = bb_error_msg;
#endif
fp(msg ? "%s: %s" : notice, notice, msg);
}