[X2Go-Commits] [live-build-x2go] 46/60: added status message log output

git-admin at x2go.org git-admin at x2go.org
Mon Nov 28 19:43:55 CET 2022


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/mate-minidesktop-buster
in repository live-build-x2go.

commit 38bce66415a0b0612e4dd2757e4c39790a16f400
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sat Jun 27 16:48:44 2020 +0200

    added status message log output
---
 config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia b/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
index c76d481..bf0681c 100755
--- a/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
+++ b/config/includes.chroot/lib/live/config/2260-getsshhostkeysfrommedia
@@ -82,6 +82,8 @@ GetSSHHostKeysFromMedia ()
                 # search for our magic label
                 X2GOTCELIVELABELS=$(echo "$LABELMPLIST" | awk '$1 == "X2GO-TCE-LIVE" { print $2 " " $3 " " $4}')
 
+		[ -z "$X2GOTCELIVELABELS" ] && echo -n "\n$(date +'%F | %T | ')'$0' No matching 'magic' label(s) found." | tee -a /dev/tty8
+
                 # block device list, non-removable first (for security - we don't want USB media to be able to override keys on fixed disks)
                 BLOCKDEVS="$(echo "$X2GOTCELIVELABELS" | awk '$1 == "0" {print $2}' ) $(echo "$X2GOTCELIVELABELS" | awk '$1 == "1" {print $2}' )"
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list