Revision: 425
          http://opencsw.svn.sourceforge.net/opencsw/?rev=425&view=rev
Author:   bdwalton
Date:     2011-07-21 03:08:01 +0000 (Thu, 21 Jul 2011)

Log Message:
-----------
correct use of opts variable when validating presense of gpg.home setting

Signed-off-by: Ben Walton <bwal...@opencsw.org>

Modified Paths:
--------------
    catalog_signatures/bin/catalog_gpg

Modified: catalog_signatures/bin/catalog_gpg
===================================================================
--- catalog_signatures/bin/catalog_gpg  2011-07-21 03:07:42 UTC (rev 424)
+++ catalog_signatures/bin/catalog_gpg  2011-07-21 03:08:01 UTC (rev 425)
@@ -45,7 +45,7 @@
   o.on('-p', '--port PORT', "Use a port other than #{opts.port}") { |p| 
opts.port = p.to_i }
 end.parse!
 
-if o.gpg.home.nil?
+if opts.gpg.home.nil?
   $stderr.puts "Can't start daemon without a valid DAEMON_GPG in the 
environment"
   exit 1
 end


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to