From fc84951f0fae5f62ff3717e0a28357855c24b1c9 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Tue, 25 Feb 2014 13:41:55 +0100 Subject: [PATCH] Make it possible to override what .users file to use --- pws.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pws.rb b/pws.rb index 1698451..739b208 100755 --- a/pws.rb +++ b/pws.rb @@ -298,7 +298,7 @@ class GroupConfig def parse_file begin - f = File.open('.users') + f = File.open(File.join(@dirname, '.users')) rescue Exception => e STDERR.puts e exit(1) -- 2.39.5