summaryrefslogtreecommitdiffstats
path: root/ogcli
diff options
context:
space:
mode:
Diffstat (limited to 'ogcli')
-rwxr-xr-xogcli3
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcli b/ogcli
index b2cbe38..f4b55d5 100755
--- a/ogcli
+++ b/ogcli
@@ -59,7 +59,8 @@ class CLI():
sys.exit(1)
# Call the command with the same name.
- getattr(self.ogcli, args.command)(sys.argv[2:])
+ res = getattr(self.ogcli, args.command)(sys.argv[2:])
+ sys.exit(res)
if __name__ == "__main__":