From df6dee21c3ba0cf089c346a08ad74c43d2bc0692 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 30 Jul 2016 14:15:18 +0200 Subject: [PATCH] Use full path to tor-onion-name --- modules/debian-org/lib/facter/onion-services.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/debian-org/lib/facter/onion-services.rb b/modules/debian-org/lib/facter/onion-services.rb index af60d10db..c444ec2d1 100644 --- a/modules/debian-org/lib/facter/onion-services.rb +++ b/modules/debian-org/lib/facter/onion-services.rb @@ -21,7 +21,7 @@ begin Dir['/etc/onionbalance/private_keys/*.key'].each do |p| service = File.basename(p, '.key') begin - services[service] = IO.popen(['tor-onion-name', p]).read.chomp + services[service] = IO.popen(['/usr/local/bin/tor-onion-name', p]).read.chomp rescue Errno::ENOENT end end -- 2.20.1