mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-01 01:52:17 +01:00
open debug file with "a" not "a+"
This commit is contained in:
parent
ead5337be1
commit
2cab7ac03e
@ -761,7 +761,7 @@ parse_cfg (int flags, int argc, const char **argv, struct cfg *cfg)
|
||||
}
|
||||
else
|
||||
{
|
||||
FILE *file = fopen(argv[i] + 11, "a+");
|
||||
FILE *file = fopen(argv[i] + 11, "a");
|
||||
if(file)
|
||||
{
|
||||
cfg->debug_file = file;
|
||||
|
Loading…
x
Reference in New Issue
Block a user