diff options
Diffstat (limited to 'src/helpers/commands-pipe.py')
-rwxr-xr-x | src/helpers/commands-pipe.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/commands-pipe.py b/src/helpers/commands-pipe.py index 1120bb09e..ab68ccade 100755 --- a/src/helpers/commands-pipe.py +++ b/src/helpers/commands-pipe.py @@ -9,6 +9,7 @@ from vyos.configtree import ConfigTree signal(SIGPIPE,SIG_DFL) config_string = sys.stdin.read().strip() +config_string = config_string.replace("\\", "\\\\") if not config_string: sys.exit(0) |