From 407fda3a83a75a2996b8fe174fbfa3f1b8b170c6 Mon Sep 17 00:00:00 2001 From: Recolic Keghart <root@recolic.net> Date: Wed, 14 Mar 2018 16:23:42 +0800 Subject: [PATCH] ... --- daemon-signin.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon-signin.fish b/daemon-signin.fish index 1dce8b5..06542a6 100755 --- a/daemon-signin.fish +++ b/daemon-signin.fish @@ -14,6 +14,7 @@ set _audio_player "mpg123" set tmpfl (mktemp) while true + date curl "$_url" 2>/dev/null > $tmpfl if grep '{"data":\[\],"msg":"unauthorized"}' $tmpfl mpg123 badid.mp3 -- GitLab