fence-agents: master - fence_egenera: log file path should be absolute not relative
Fabio M. Di Nitto
fabbione at fedoraproject.org
Tue Apr 20 13:24:54 UTC 2010
Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=0a05ea521285a0f870f1fa5bfc3730de68dd6635
Commit: 0a05ea521285a0f870f1fa5bfc3730de68dd6635
Parent: bee80d8e340f90e620eec3cc8571c3226c350f04
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Tue Apr 20 12:14:40 2010 +0200
Committer: Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Apr 20 14:50:02 2010 +0200
fence_egenera: log file path should be absolute not relative
---
fence/agents/egenera/fence_egenera.pl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fence/agents/egenera/fence_egenera.pl b/fence/agents/egenera/fence_egenera.pl
index 8df0029..8e6aa1b 100644
--- a/fence/agents/egenera/fence_egenera.pl
+++ b/fence/agents/egenera/fence_egenera.pl
@@ -292,9 +292,9 @@ sub pserver_boot
sub pserver_shutdown
{
my $rtrn=1;
- local *egen_log;
- open(egen_log,">>@LOGDIR@/fence_egenera.log");
- print egen_log "Attempting shutdown at ".`date`."\n";
+ local *egen_log;
+ open(egen_log,">>/@LOGDIR@/fence_egenera.log");
+ print egen_log "Attempting shutdown at ".`date`."\n";
for (my $trys=0; $trys<20; $trys++)
{
last if (pserver_status != 0);
More information about the cluster-commits
mailing list