diff options
Diffstat (limited to 'scripts/priority.pl')
-rw-r--r-- | scripts/priority.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/priority.pl b/scripts/priority.pl index 0cadbc3..412b600 100644 --- a/scripts/priority.pl +++ b/scripts/priority.pl @@ -59,6 +59,7 @@ sub wanted { # main program my $cfgdir = '/opt/vyatta/share/vyatta-cfg/templates'; +$cfgdir = $ARGV[0] if $#ARGV == 0; die "$cfgdir does not exist!" unless -d $cfgdir; # walk config file tree |