From f65ecac5fe0e5f98a5de7934a6137a723b54a20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Thu, 30 Nov 2017 16:23:41 +0000 Subject: [PATCH] Skip ip rule errors for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- systemd/glorytun-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/glorytun-run b/systemd/glorytun-run index 48a6617..757898b 100755 --- a/systemd/glorytun-run +++ b/systemd/glorytun-run @@ -20,9 +20,9 @@ if [ -n "$HOST" ]; then fi if [ -z "$BIND" ]; then BIND=$(ip route get "$HOST" | awk '/src/{getline;print $0}' RS=' ') - ip rule add from "$BIND" table main pref "$((PREF-1))" + ip rule add from "$BIND" table main pref "$((PREF-1))" || true fi - ip rule add from all table 200 pref "$PREF" + ip rule add from all table 200 pref "$PREF" || true fi exec glorytun \