/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to mandos-client.c

  • Committer: Björn Påhlsson
  • Date: 2008-08-11 16:09:41 UTC
  • mto: (237.7.1 mandos) (24.1.154 mandos)
  • mto: This revision was merged to the branch mainline in revision 66.
  • Revision ID: belorn@braxen-20080811160941-wq2xnhg00py1wzxq
Fixed unkown -> unknown
updated TODO

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
                                      .sa_flags = SA_NOCLDSTOP };
203
203
  char *plus_options = NULL;
204
204
  char **plus_argv = NULL;
205
 
 
 
205
  
206
206
  /* Establish a signal handler */
207
207
  sigemptyset(&sigchld_action.sa_mask);
208
208
  ret = sigaddset(&sigchld_action.sa_mask, SIGCHLD);
708
708
      }
709
709
    }
710
710
  }
711
 
 
712
 
 
713
 
 end:
714
711
  
715
 
  if(process_list == NULL or exitstatus != EXIT_SUCCESS){
716
 
    /* Fallback if all plugins failed or an error occured */
 
712
  if(process_list == NULL){
717
713
    bool bret;
718
714
    fprintf(stderr, "Going to fallback mode using getpass(3)\n");
719
715
    char *passwordbuffer = getpass("Password: ");
724
720
      goto end;
725
721
    }
726
722
  }
 
723
 
 
724
 end:
727
725
  
728
726
  /* Restore old signal handler */
729
727
  sigaction(SIGCHLD, &old_sigchld_action, NULL);