From ec3d385d9648a900b3a59846740f7c0b57e7a32b Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Mon, 14 Sep 2020 19:41:00 +0200 Subject: [PATCH] Justfile: fix online detection --- Justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Justfile b/Justfile index dfff21d..8e4291a 100755 --- a/Justfile +++ b/Justfile @@ -26,7 +26,7 @@ _device recipe dir +moreargs="": _render_templates: #!/usr/bin/env bash set -ex - if ! ip route get 0.0.0.0; then + if ! ip route get 1.1.1.1; then echo No route to WAN. Skipping template rendering... else source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix)