repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: d0769a1ea33c182aa98e6cb58e90362117e0e1bc: path_to: revision_to:
commit d0769a1ea33c182aa98e6cb58e90362117e0e1bc Author: Emanuele GiaquintaDate: Thu Dec 22 10:38:09 2011 +0000 Honour LOG_ONLY_ON_LOGIN feature macro. diff --git a/src/init.C b/src/init.C
--- a/src/init.C
+++ b/src/init.C
@@ -1678,7 +1678,14 @@ rxvt_term::run_command (const char *const *argv)
default:
if (!option (Opt_utmpInhibit))
- pty->login (cmd_pid, option (Opt_loginShell), rs[Rs_display_name]);
+ {
+#ifdef LOG_ONLY_ON_LOGIN
+ bool login_shell = option (Opt_loginShell);
+#else
+ bool login_shell = true;
+#endif
+ pty->login (cmd_pid, login_shell, rs[Rs_display_name]);
+ }
pty->close_tty ();
-----END OF PAGE-----