Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

USER variable not present in crontab, using LOGNAME

  • Loading branch information...
commit 28f2931dccbf6a96ca9f028b5a2dd97009951b1d 1 parent 096c419
authored August 28, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  postgres_gmetric.rb
2  postgres_gmetric.rb
@@ -26,7 +26,7 @@
26 26
     $options[:verbose] = true
27 27
   end
28 28
 
29  
-  $options[:user] = ENV['USER']
  29
+  $options[:user] = ENV['LOGNAME']
30 30
   opts.on( '-U', '--user USER', 'Connect as USER' ) do |user|
31 31
     $options[:user] = user
32 32
   end

0 notes on commit 28f2931

Please sign in to comment.
Something went wrong with that request. Please try again.