From 97e4ae88f912f7b4e307f439b0550cadc480cc0b Mon Sep 17 00:00:00 2001 From: "Moritz Rudert (helios)" Date: Thu, 24 Jan 2013 10:06:13 +0100 Subject: [PATCH] fixed libs check; i've got to learn perl --- check_libs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/check_libs b/check_libs index 192de17..6b5d791 100755 --- a/check_libs +++ b/check_libs @@ -29,10 +29,12 @@ use Getopt::Long; $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin'; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; -my $LSOF = '/usr/sbin/lsof -F0 -w'; +my $LSOF; + +$LSOF = '/usr/sbin/lsof -F0 -w'; if (-e "/etc/debian_version" ) { - my $LSOF = '/usr/bin/lsof -F0 -w'; + $LSOF = '/usr/bin/lsof -F0 -w'; } my $VERSION = '0.2012042101';