diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-30 16:50:38 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-30 16:50:38 +0000 |
commit | 84734197a30a0f3755b50850456cb15200bdc6fe (patch) | |
tree | 9f11cb0a6b09d5f4c61f34c4532bb7e2f5795ec8 /mdk-stage1 | |
parent | 663772ffc1e97f9351707fbbd2ae91b5c989212a (diff) | |
download | drakx-84734197a30a0f3755b50850456cb15200bdc6fe.tar drakx-84734197a30a0f3755b50850456cb15200bdc6fe.tar.gz drakx-84734197a30a0f3755b50850456cb15200bdc6fe.tar.bz2 drakx-84734197a30a0f3755b50850456cb15200bdc6fe.tar.xz drakx-84734197a30a0f3755b50850456cb15200bdc6fe.zip |
allow to proceed when files are missing from clp and live tree (allows testing in "only live_tree" mode)
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/stage1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 739e3dfaa..876c40867 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -398,9 +398,10 @@ static enum return_type handle_clp(char* clp, char* live, char* location_live, c return RETURN_ERROR; *is_symlink = 1; return RETURN_OK; + } else { + log_message("move: can't find %s nor %s, proceeding hoping files will be there", clp, live); + return RETURN_OK; } - log_message("move: panic, can't find %s nor %s", clp, live); - return RETURN_ERROR; } if (lomount(clp, location_mount, NULL, 1)) { |