diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-08-05 21:19:44 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-08-05 21:19:44 +0200 |
commit | b4ed7280179e814b9837a0fbfa05ff8065dd8b50 (patch) | |
tree | 6a24ca0b55cf0b51c0c8d6867654e38360466951 | |
parent | 2afd1163361ea2ad3e94f51eac882007d8f9b7cf (diff) | |
download | vyos-1x-b4ed7280179e814b9837a0fbfa05ff8065dd8b50.tar.gz vyos-1x-b4ed7280179e814b9837a0fbfa05ff8065dd8b50.zip |
[vyos.configsession] Return the output of the external process from __run_command.
-rw-r--r-- | python/vyos/configsession.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/configsession.py b/python/vyos/configsession.py index 78f332d66..1a8077edd 100644 --- a/python/vyos/configsession.py +++ b/python/vyos/configsession.py @@ -116,6 +116,7 @@ class ConfigSession(object): output = p.stdout.read().decode() if result != 0: raise ConfigSessionError(output) + return output def get_session_env(self): return self.__session_env |