headlessvnc : commande hostname -> bon vieux cat car j'ai désinstaller

inetutils
This commit is contained in:
Hippolyte Chauvin 2023-10-24 11:38:17 +02:00
parent 868e0476f0
commit 95d906477b

View file

@ -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