aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
Diffstat (limited to 'emi')
-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");
}