cluster: STABLE3 - fence_egenera: log file path should be absolute not relative
Marek Grác
marx at fedoraproject.org
Tue Apr 20 10:33:58 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=147e0ea97d1e721e1d2a2ecc497e04afb322d4d7
Commit: 147e0ea97d1e721e1d2a2ecc497e04afb322d4d7
Parent: cf40ea82f348e6a178f51bbc0b4334d98313c63e
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Tue Apr 20 12:14:40 2010 +0200
Committer: Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Tue Apr 20 12:14:40 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