~ubuntu-branches/debian/squeeze/smokeping/squeeze

« back to all changes in this revision

Viewing changes to lib/Smokeping/probes/passwordchecker.pm

  • Committer: Bazaar Package Importer
  • Author(s): Niko Tyni
  • Date: 2008-08-29 18:29:34 UTC
  • mfrom: (2.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080829182934-ad5b9csusoqn1155
Tags: 2.3.6-3
* Unset LC_ALL in the init script because the daemon needs to 
  reset LC_NUMERIC. (Closes: #489766)
* Fix a bashism in the postinst script. Thanks, lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
                        _example => '/some/place/secret',
98
98
                        _sub => sub {
99
99
                                my $val = shift;
100
 
                                -r $val or return "ERROR: password file $val is not readable.";
 
100
                                -r $val or $ENV{SERVER_SOFTWARE} or return "ERROR: password file $val is not readable.";
101
101
                                return undef;
102
102
                        },
103
103
                },