From 80635b5d7d231c530da752636b8884fce91c5a65 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 4 Nov 2009 12:05:59 +0100 Subject: [PATCH] jailsetup.sh: Allow sshd cp to fail --- jailsetup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jailsetup.sh b/jailsetup.sh index 397ccb0..87c7cfc 100755 --- a/jailsetup.sh +++ b/jailsetup.sh @@ -105,7 +105,8 @@ pull_in_bin() { pull_in_bin /bin/sh bin pull_in_bin /bin/nc.openbsd bin -pull_in_bin /usr/sbin/sshd sbin +# If /sbin/sshd is already running within the chroot, we get Text file busy. +pull_in_bin /usr/sbin/sshd sbin || : # ...and the bits of git we need. for i in git git-index-pack git-receive-pack git-shell git-update-server-info git-upload-archive git-upload-pack git-unpack-objects; do -- 2.11.4.GIT