diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-03-24 10:03:43 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-03-24 10:03:43 -0600 |
commit | b45e58d9f75747e8727ac6cd0594a921e945c7e2 (patch) | |
tree | 8f15f7cd6a39357fd6e0994e21d1c0f19017ba75 /data_recorder.c | |
parent | 0d323e4a42bcfa70150c77f45f6f465f84666e31 (diff) | |
download | libsurvive-b45e58d9f75747e8727ac6cd0594a921e945c7e2.tar.gz libsurvive-b45e58d9f75747e8727ac6cd0594a921e945c7e2.tar.bz2 |
Fixed issue(s) which would write to the config file when it wasn't needed
Diffstat (limited to 'data_recorder.c')
-rw-r--r-- | data_recorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data_recorder.c b/data_recorder.c index 427a953..968ae17 100644 --- a/data_recorder.c +++ b/data_recorder.c @@ -11,7 +11,7 @@ int main(int argc, char **argv) { if (ctx == 0) // implies -help or similiar return 0; - const char *dataout_file = survive_configs(ctx, "record", SC_SETCONFIG, ""); + const char *dataout_file = survive_configs(ctx, "record", SC_GET, ""); if (strlen(dataout_file) == 0) { survive_configi(ctx, "record-stdout", SC_SET | SC_OVERRIDE, 1); } |