/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 initramfs-tools-hook

  • Committer: Teddy Hogeborn
  • Date: 2009-10-18 17:29:55 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091018172955-qqnsfad2lkpkt35f
* plugins.d/password-prompt.c: Use exit codes from <sysexits.h>.  Do
                               close(STDOUT_FILENO) after writing to
                               check its return code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    case "$base" in
91
91
        *~|.*|\#*\#|*.dpkg-old|*.dpkg-bak|*.dpkg-new|*.dpkg-divert)
92
92
            : ;;
93
 
        */"*")
94
 
            echo "W: Mandos client plugin directory is empty." >&2 ;;
 
93
        "*") echo "W: Mandos client plugin directory is empty." >&2 ;;
95
94
        *) copy_exec "$file" "${PLUGINDIR}" ;;
96
95
    esac
97
96
done
102
101
    case "$base" in
103
102
        *~|.*|\#*\#|*.dpkg-old|*.dpkg-bak|*.dpkg-new|*.dpkg-divert)
104
103
            : ;;
105
 
        */"*") : ;;
 
104
        "*") : ;;
106
105
        *) copy_exec "$file" "${PLUGINDIR}" ;;
107
106
    esac
108
107
done