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

merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  -*- coding: utf-8 -*- */
2
2
/*
3
 
 * Passprompt - Read a password from splashy and output it
 
3
 * Splashy - Read a password from splashy and output it
4
4
 * 
5
5
 * Copyright © 2008,2009 Teddy Hogeborn
6
6
 * Copyright © 2008,2009 Björn Påhlsson
120
120
        struct stat exe_stat;
121
121
        ret = lstat(exe_link, &exe_stat);
122
122
        if(ret == -1){
 
123
          if(errno == ENOENT){
 
124
            free(exe_link);
 
125
            continue;
 
126
          }
123
127
          perror("lstat");
124
128
          free(exe_link);
125
129
          free(prompt);