commit:     d6163fb9f63b533813e0026680fe6e5befda5d58
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 19:27:28 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 19:27:28 2024 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=d6163fb9

Minor logging output improvement

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 targets/support/diskimagefs-update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/diskimagefs-update.sh 
b/targets/support/diskimagefs-update.sh
index 9b810cea..67a350d1 100755
--- a/targets/support/diskimagefs-update.sh
+++ b/targets/support/diskimagefs-update.sh
@@ -74,7 +74,7 @@ case ${clst_diskimage_type} in
                configure_dhcp
                configure_sshd
                echo "Adding sshd service"
-               systemctl enable sshd
+               systemctl enable sshd || die "Failed enabling sshd service"
                ;;
        cloud-init|cloudinit)
                echo "Setting up cloud-init image"

Reply via email to