summaryrefslogtreecommitdiff
path: root/src/cli_bin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_bin.cpp')
-rw-r--r--src/cli_bin.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cli_bin.cpp b/src/cli_bin.cpp
index 25a86ce..5823c02 100644
--- a/src/cli_bin.cpp
+++ b/src/cli_bin.cpp
@@ -165,8 +165,6 @@ doDiscard(Cstore& cstore, const vector<string>& args)
if (!cstore.discardChanges()) {
bye("discard failed\n");
}
- // special case for discard: don't return (don't want to mark changed)
- exit(0);
}
static void
@@ -228,7 +226,6 @@ main(int argc, char **argv)
// call the op function
OpFunc[op_idx](cstore, path_comps);
- cstore.markCfgPathChanged(path_comps);
exit(0);
}