summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/VyattaConfig.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaConfig.pm b/scripts/VyattaConfig.pm
index 476d586..a783957 100644
--- a/scripts/VyattaConfig.pm
+++ b/scripts/VyattaConfig.pm
@@ -89,7 +89,7 @@ sub listOrigNodes {
my @nodes = ();
if (defined $path) {
- $path =~ s/%2F/\//g;
+ $path =~ s/\//%2F/g;
$path =~ s/\s+/\//g;
$path = $self->{_active_dir_base} . $self->{_current_dir_level} . "/"
. $path;