View | Details | Raw Unified
Collapse All | Expand All

(-) bash-3.1/shell.c.login (-2 / +3 lines)
 Lines 1543-1551    Link Here 
     any startup files; just try to be more like /bin/sh. */
     any startup files; just try to be more like /bin/sh. */
  shell_name = argv0 ? base_pathname (argv0) : PROGRAM;
  shell_name = argv0 ? base_pathname (argv0) : PROGRAM;
  if (*shell_name == '-')
  if (argv0 && *argv0 == '-')
    {
    {
      shell_name++;
      if (*shell_name == '-')
        shell_name++;
      login_shell++;
      login_shell++;
    }
    }