/mandos/trunk

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

« back to all changes in this revision

Viewing changes to plugins.d/password-request.c

mandos-client
        Better error handling for failing to start plugins
        Handle fork errors
password-request
        correct exit routine

Show diffs side-by-side

added added

removed removed

Lines of Context:
682
682
      }
683
683
      int ret = start_mandos_communication(ip, port, interface, mc);
684
684
      if (ret == 0){
685
 
        exit(EXIT_SUCCESS);
 
685
        avahi_simple_poll_quit(mc->simple_poll);
686
686
      }
687
687
    }
688
688
  }
850
850
          break;
851
851
        case ARGP_KEY_ARG:
852
852
          argp_usage (state);
 
853
        case ARGP_KEY_END:
853
854
          break;
854
 
          case ARGP_KEY_END:
855
 
            break;
856
855
        default:
857
856
          return ARGP_ERR_UNKNOWN;
858
857
        }