Fix thinko. Thanks to mrg.
This commit is contained in:
parent
0e87f1b53d
commit
5a277f5dfd
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md.c,v 1.21 1999/01/23 06:19:18 garbled Exp $ */
|
||||
/* $NetBSD: md.c,v 1.22 1999/01/23 15:54:31 garbled Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
|
@ -417,7 +417,8 @@ void md_copy_filesystem (void)
|
|||
/* test returns 0 on success */
|
||||
dir_exists = (run_prog(0, 0, "test -d %s", diskimage_usr) == 0);
|
||||
if (dir_exists) {
|
||||
run_prog ( 0, 1, "pax -X -r -w %s /usr", diskimage_usr);
|
||||
run_prog ( 0, 1, "pax -Xrwpe -s /%s// %s /usr",
|
||||
diskimage_usr, diskimage_usr);
|
||||
}
|
||||
|
||||
if (target_already_root()) {
|
||||
|
|
Loading…
Reference in New Issue