/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 plugins.d/password-prompt.c

  • Committer: Teddy Hogeborn
  • Date: 2008-08-10 16:13:23 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080810161323-wrh1rbpdrq0otuhf
* mandos (console): Define handler globally.
  (main): If in debug mode, also reduce consol log level.  Remove
          console log handler before daemonizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
                         .doc = "Mandos Passprompt -- Provides a passprompt" };
106
106
    ret = argp_parse (&argp, argc, argv, 0, 0, NULL);
107
107
    if (ret == ARGP_ERR_UNKNOWN){
108
 
      fprintf(stderr, "Unknown error while parsing arguments\n");
 
108
      fprintf(stderr, "Unkown error while parsing arguments\n");
109
109
      return EXIT_FAILURE;
110
110
    }
111
111
  }