diff options
-rwxr-xr-x | access_control.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/access_control.rb b/access_control.rb index 9758be9..701dcb9 100755 --- a/access_control.rb +++ b/access_control.rb @@ -64,7 +64,7 @@ HTACCESS end def add_to_htdigest(user,password) fork { - IO.popen("htdigest .htdigest dudle #{user}","w+"){|htdigest| + IO.popen("htdigest .htdigest dudle #{user} 2>/dev/null","w+"){|htdigest| htdigest.sync htdigest.puts(password) htdigest.puts(password) |