aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-07-05 17:40:43 +0000
committerNicolas Vigier <boklm@mageia.org>2012-07-05 17:40:43 +0000
commit753e4206939b48d315aedd438916f664d22b8a06 (patch)
treeb0efaeadea34936d2f30957c080efbc689f20409
parentdfa1d1b903a305a7d8a5d4a2d1b64e6e5f98aa9c (diff)
downloadiurt-753e4206939b48d315aedd438916f664d22b8a06.tar
iurt-753e4206939b48d315aedd438916f664d22b8a06.tar.gz
iurt-753e4206939b48d315aedd438916f664d22b8a06.tar.bz2
iurt-753e4206939b48d315aedd438916f664d22b8a06.tar.xz
iurt-753e4206939b48d315aedd438916f664d22b8a06.zip
fix another error from previous commit
-rwxr-xr-xemi2
1 files changed, 1 insertions, 1 deletions
diff --git a/emi b/emi
index 716330d..99fae15 100755
--- a/emi
+++ b/emi
@@ -43,7 +43,7 @@ my $program_name = 'emi';
$run{program_name} = $program_name;
my $LOG;
-if (!env{'EMI_LOG_FILE'} || !open($LOG, '>>', env{'EMI_LOG_FILE'})) {
+if (!$ENV{'EMI_LOG_FILE'} || !open($LOG, '>>', $ENV{'EMI_LOG_FILE'})) {
open($LOG, ">&STDERR");
}