From d4f06f290475e748c1fd9938c9f309292a1315da Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Mon, 12 Nov 2018 17:17:57 +0000 Subject: [PATCH] fixed exit code for cleanup mode to indicate non-error --- pedi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pedi.cpp b/pedi.cpp index 4bff52f..7507efa 100644 --- a/pedi.cpp +++ b/pedi.cpp @@ -661,7 +661,7 @@ int main(int argc, char* argv[]) clean(); if(!my_options.quiet) cout<<"PEDI: Cleanup complete!"<<endl; - exit(1); + return 0; } update_configs(); read_configs(); -- GitLab