diff --git a/openstackclient/shell.py b/openstackclient/shell.py
index f8a47ca664..4ac7683f2e 100644
--- a/openstackclient/shell.py
+++ b/openstackclient/shell.py
@@ -122,7 +122,7 @@ class OpenStackShell(app.App):
 
     def run(self, argv):
         try:
-            super(OpenStackShell, self).run(argv)
+            return super(OpenStackShell, self).run(argv)
         except Exception as e:
             if not logging.getLogger('').handlers:
                 logging.basicConfig()