1
0
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:
Klas Lindfors 2016-06-16 11:06:41 +02:00
parent ead5337be1
commit 2cab7ac03e

View File

@ -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;