[Piuparts-devel] [Git][debian/piuparts][develop] p-s.postinst: do not fail if no sshd is available on localhost:22
Andreas Beckmann (@anbe)
gitlab at salsa.debian.org
Thu Jul 29 09:47:55 BST 2021
Andreas Beckmann pushed to branch develop at Debian / piuparts
Commits:
dbd289e0 by Andreas Beckmann at 2021-07-29T10:43:14+02:00
p-s.postinst: do not fail if no sshd is available on localhost:22
Signed-off-by: Andreas Beckmann <anbe at debian.org>
- - - - -
1 changed file:
- debian/piuparts-slave.postinst
Changes:
=====================================
debian/piuparts-slave.postinst
=====================================
@@ -49,7 +49,7 @@ if [ "$1" = "configure" ] ; then
fi
if [ ! -e $userhome/$suser/.ssh/known_hosts ] ; then
- ssh-keyscan localhost > $userhome/$suser/.ssh/known_hosts 2>/dev/null
+ ssh-keyscan localhost > $userhome/$suser/.ssh/known_hosts 2>/dev/null || true
chown $suser:$pgroup $userhome/$suser/.ssh/known_hosts
fi
View it on GitLab: https://salsa.debian.org/debian/piuparts/-/commit/dbd289e01e547d1cdb3b99635cad2b14a2ff4028
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/-/commit/dbd289e01e547d1cdb3b99635cad2b14a2ff4028
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20210729/2f9bc805/attachment.htm>
More information about the Piuparts-devel
mailing list