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

  • Committer: Teddy Hogeborn
  • Date: 2009-01-18 00:18:50 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090118001850-pvg8xjwmbyt23fom
* debian/rules (install-indep): Removed "--no-start" from
                                dh_installinit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
      { .name = NULL }
81
81
    };
82
82
    
83
 
    error_t parse_opt (int key, char *arg, struct argp_state *state){
84
 
      switch (key){
 
83
    error_t parse_opt (int key, char *arg, struct argp_state *state) {
 
84
      switch (key) {
85
85
      case 'p':
86
86
        prefix = arg;
87
87
        break;
194
194
      const char *cryptsource = getenv("cryptsource");
195
195
      const char *crypttarget = getenv("crypttarget");
196
196
      const char *const prompt
197
 
        = "Enter passphrase to unlock the disk";      
 
197
        = "Enter passphrase to unlock the disk";
198
198
      if(cryptsource == NULL){
199
199
        if(crypttarget == NULL){
200
200
          fprintf(stderr, "%s: ", prompt);