From 95d906477b6fe4daaebd4f661092d00aced84283 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Tue, 24 Oct 2023 11:38:17 +0200 Subject: [PATCH] =?UTF-8?q?headlessvnc=20:=20commande=20hostname=20->=20bo?= =?UTF-8?q?n=20vieux=20cat=20car=20j'ai=20d=C3=A9sinstaller=20inetutils?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/headlessvnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/headlessvnc b/bin/headlessvnc index a46bcc1..5cd1514 100755 --- a/bin/headlessvnc +++ b/bin/headlessvnc @@ -70,7 +70,7 @@ public_start() { public_status() { if is_running; then echobf "The VNC server is running." - tail "./$(hostname):1.log" | sed 's/^/\t/g' + tail "./$(cat /proc/sys/kernel/hostname):1.log" | sed 's/^/\t/g' else echobf "The VNC server is not running." fi