From 997162b5c176c7a93cbf910e38b06264499df229 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 23 Dec 2023 18:55:36 +0100 Subject: [PATCH] add timeout --- .config/fish/config_wsl.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/config_wsl.fish b/.config/fish/config_wsl.fish index 52728a9..af4e300 100644 --- a/.config/fish/config_wsl.fish +++ b/.config/fish/config_wsl.fish @@ -1,5 +1,5 @@ # NAS -if ping -c1 192.168.1.200 &>/dev/null +if timeout 0.2 ping -c1 192.168.1.200 &>/dev/null sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2>/dev/null & end