Skip to content

Commit

Permalink
Merge pull request #2994 from c-po/init-T2044
Browse files Browse the repository at this point in the history
init: T2044: fix "binary operator expected" when two or more RPKI caches are defined
  • Loading branch information
c-po committed Feb 12, 2024
2 parents 19df289 + a5ac522 commit 69a0fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/init/vyos-router
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 69a0fa7

Please sign in to comment.