projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c5068
)
Remove extra brackets
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 29 Apr 2008 19:45:49 +0000
(19:45 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 29 Apr 2008 19:45:49 +0000
(19:45 +0000)
heartbeat/heartbeat-lib.pl
patch
|
blob
|
history
diff --git
a/heartbeat/heartbeat-lib.pl
b/heartbeat/heartbeat-lib.pl
index
34c725b
..
4870b23
100644
(file)
--- a/
heartbeat/heartbeat-lib.pl
+++ b/
heartbeat/heartbeat-lib.pl
@@
-191,7
+191,7
@@
foreach $k (keys %{$_[0]}) {
}
# add two more functions (Christof Amelunxen, 22.08.2003)
-sub check_status_resource
()
{
+sub check_status_resource {
@ips = @_;
$ifconfig="/sbin/ifconfig";
@lines=qx|$ifconfig| or die("ifconfig does not seem to work: ".$!);
@@
-208,7
+208,7
@@
sub check_status_resource () {
return 1;
}
-sub get_resource
()
{
+sub get_resource {
foreach(@_) {
system("$config{req_resource_cmd} $_");
}