aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Process.pm
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-01-13 12:42:41 +0000
committerOlivier Blin <blino@mageia.org>2011-01-13 12:42:41 +0000
commite9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa (patch)
treefc38602842f034bc3b53e898a7044b58f6ba1eda /lib/Iurt/Process.pm
parent52c6bf712bc25b1dd318d3c485f847133f26243d (diff)
downloadiurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar
iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar.gz
iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar.bz2
iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.tar.xz
iurt-e9fe96e5d2a9c3245aca5728ae62d54a1dea8ffa.zip
add missing parentheses in open calls
Diffstat (limited to 'lib/Iurt/Process.pm')
-rw-r--r--lib/Iurt/Process.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index 9855b36..fa8883b 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -44,7 +44,7 @@ sub check_pid {
if (-f $pidfile) {
my (@stat) = stat $pidfile;
- open my $test_PID, $pidfile;
+ open(my $test_PID, $pidfile);
my $pid = <$test_PID>;
close $test_PID;