[neon/neon/neon-boot-space/Neon/unstable] /: return 1 if we aborted the update

Harald Sitter null at kde.org
Thu Jun 17 12:17:44 BST 2021


Git commit e9d1ea9167efb33fdb2394b4e4b39ea1bba49a07 by Harald Sitter.
Committed on 17/06/2021 at 11:17.
Pushed by sitter into branch 'Neon/unstable'.

return 1 if we aborted the update

this is mostly for accuracy. since this is practically the failure
condition we should probably return 1 not 0

M  +1    -1    main.cpp

https://invent.kde.org/neon/neon/neon-boot-space/commit/e9d1ea9167efb33fdb2394b4e4b39ea1bba49a07

diff --git a/main.cpp b/main.cpp
index b6ef509..81bce9f 100644
--- a/main.cpp
+++ b/main.cpp
@@ -132,5 +132,5 @@ int main(int /*argc*/, char ** /*argv*/)
         std::cerr << "isolate failed\n";
     }
 
-    return 0;
+    return 1;
 }



More information about the Neon-commits mailing list