From 295c5a42b122c69116d967e50822f383fcbe2c02 Mon Sep 17 00:00:00 2001 From: joey <> Date: Sat, 22 Jan 2005 18:38:17 +0000 Subject: [PATCH] Corrected patch inside the chroot directory --- ud-replicate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ud-replicate b/ud-replicate index 9903428..0b936d5 100755 --- a/ud-replicate +++ b/ud-replicate @@ -2,7 +2,7 @@ # Copyright (c) 1999-2001 Jason Gunthorpe # Copyright (c) 2002-2003 Ryan Murray -# Copyright (c) 2004 Joey Schulze +# Copyright (c) 2004-2005 Joey Schulze # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -63,7 +63,7 @@ if [ -x /usr/bin/dchroot ]; then if [ -x "$c/usr/bin/makedb" ] then - test ! -d "$c/var/lib/misc/HOST" || mkdir -p "$c/var/lib/misc/HOST" + test ! -d "$c/var/lib/misc/$HOST" || mkdir -p "$c/var/lib/misc/$HOST" rsync -a ${verbose} $HOST/group.tdb $HOST/passwd.tdb $HOST/ssh* "$c/var/lib/misc/$HOST" -- 2.20.1