diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-12 21:40:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 21:40:01 +0100 |
commit | 939e06bcab7d0a8b6dec637b70f2e7fb777e5bab (patch) | |
tree | 2e77ccc4fb0a862a03c0fc8337037dcb6ef80d1f /src/init/vyos-router | |
parent | 2291f78ed31a6c5393f2efaf68ff8a04a3a844a2 (diff) | |
parent | e021dee485fb6f90c00509f9461a11a457a67918 (diff) | |
download | vyos-1x-939e06bcab7d0a8b6dec637b70f2e7fb777e5bab.tar.gz vyos-1x-939e06bcab7d0a8b6dec637b70f2e7fb777e5bab.zip |
Merge pull request #2995 from vyos/mergify/bp/sagitta/pr-2994
init: T2044: fix "binary operator expected" when two or more RPKI caches are defined (backport #2994)
Diffstat (limited to 'src/init/vyos-router')
-rwxr-xr-x | src/init/vyos-router | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/vyos-router b/src/init/vyos-router index 2b4fac5ef..eac3e7e47 100755 --- a/src/init/vyos-router +++ b/src/init/vyos-router @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (C) 2021 VyOS maintainers and contributors +# Copyright (C) 2021-2024 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -449,7 +449,7 @@ start () run_postconfig_scripts tmp=$(${vyos_libexec_dir}/read-saved-value.py --path "protocols rpki cache") - if [ ! -z $tmp ]; then + if [[ ! -z "$tmp" ]]; then vtysh -c "rpki start" fi } |