From 5d6c1ce41d0b6161cf8b88d1e457b5e6fe575c2f Mon Sep 17 00:00:00 2001 From: Gerhard Gonter <ggonter@gmail.com> Date: Wed, 28 Feb 2018 15:53:56 +0100 Subject: [PATCH] fixed minor syntax complaint --- modules/util/Util/Linux_lvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/util/Util/Linux_lvm.pm b/modules/util/Util/Linux_lvm.pm index 2d8df64..1e5bb50 100755 --- a/modules/util/Util/Linux_lvm.pm +++ b/modules/util/Util/Linux_lvm.pm @@ -28,7 +28,7 @@ my @paths= qw(/usr/sbin /sbin); my @caller= caller (); # print "caller=[",join (':', @caller),"]\n"; # __PACKAGE__->main if (!defined (@caller) || ($caller[0] eq 'main' && $caller[1] eq '-')); -__PACKAGE__->main if (!defined (@caller)); +__PACKAGE__->main unless (@caller); __PACKAGE__->test if (($caller[0] eq 'main' && $caller[1] eq '-')); sub new -- GitLab