diff options
-rwxr-xr-x | src/services/vyos-configd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-configd b/src/services/vyos-configd index 8547b5f56..a4c982e2a 100755 --- a/src/services/vyos-configd +++ b/src/services/vyos-configd @@ -185,7 +185,7 @@ def initialization(socket): session_out = None # if not a 'live' session, for example on boot, write to file - if not session_out or '/dev/pts' not in session_out: + if not session_out or not os.path.isfile('/tmp/vyos-config-status'): session_out = script_stdout_log session_mode = 'a' |