diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2011-04-18 08:57:34 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2011-04-18 08:57:34 +0200 |
commit | 16e0276e79ac059a361464a9ea7ba5624161ab02 (patch) | |
tree | 20490a562b8097c96d9d4dfab54456e6b76f7e70 /access_control.rb | |
parent | 451383433d842f4a6734573a37aaf9098dd245c7 (diff) |
avoid useless errorlog spamming
Diffstat (limited to 'access_control.rb')
-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) |