diff options
author | jkh <jkh@FreeBSD.org> | 2001-10-12 07:36:34 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2001-10-12 07:36:34 +0000 |
commit | a05a408d1477a5343412025e2e3b23c405a7d380 (patch) | |
tree | f739d4371630cf7f94d9f84c599f9c7716b75403 /usr.sbin/sade/install.c | |
parent | fa0b53723556b0757603a7686ae1cb2bbcda6e08 (diff) | |
download | FreeBSD-src-a05a408d1477a5343412025e2e3b23c405a7d380.zip FreeBSD-src-a05a408d1477a5343412025e2e3b23c405a7d380.tar.gz |
DTRT in the restart case
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r-- | usr.sbin/sade/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 4f4c223..208f4ef 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -225,7 +225,7 @@ installInitial(void) return DITEM_FAILURE; } - if (chroot("/mnt") == -1) { + if (!Restarting && chroot("/mnt") == -1) { msgConfirm("installInitial: Unable to chroot to %s - this is bad!", "/mnt"); return DITEM_FAILURE; |