diff options
Diffstat (limited to 'cmds/dumpstate/dumpstate.c')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index dea269d..4621f57 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -224,6 +224,8 @@ int main(int argc, char *argv[]) { } if (compress) strcat(path, ".gz"); + else + strcat(path, ".txt"); /* ensure that all directories in the path exist */ create_directories(path); |