diff options
Diffstat (limited to 'python/vyos/config.py')
-rw-r--r-- | python/vyos/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/config.py b/python/vyos/config.py index 6aed8693c..77698ac68 100644 --- a/python/vyos/config.py +++ b/python/vyos/config.py @@ -140,6 +140,7 @@ class Config(object): p = subprocess.Popen(cmd, stdout=subprocess.PIPE) out = p.stdout.read() p.wait() + p.communicate() if p.returncode != 0: raise VyOSError() else: |