From 3e5577df385fb746f093d3915759edb139500ba3 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Thu, 28 Sep 2023 10:58:29 +0200 Subject: [PATCH] =?utf8?q?Poprawiono=20wy=C5=9Bwietlanie=20uptimeu=20-=20s?= =?utf8?q?earx-motd=20-=20BT=20#118?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- searx-motd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx-motd b/searx-motd index 5efdf76..a66a387 100755 --- a/searx-motd +++ b/searx-motd @@ -28,7 +28,7 @@ if $(uptime | grep -q 'day'); then echo -e "\tUPTIME: ${utime}m"; else utime=$(uptime | awk '{printf $3}' | sed -e 's/,//' -e 's,:,h ,'); - if $(echo $utime | grep -q ":"); then + if $(echo $utime | grep -q "h"); then echo -e " \tUPTIME: ${utime}m"; else echo -e " \tUPTIME: 0h ${utime}m"; -- 2.39.5