Fix sysmerge(8) waiting if the system is not upgraded.
This commit is contained in:
parent
069f3b3887
commit
e79a641500
1 changed files with 3 additions and 3 deletions
|
@ -217,12 +217,12 @@ int main(int argc, char* argv[])
|
|||
|
||||
bool has_system = !access_join_or_die(target, "tix/manifest/system", F_OK);
|
||||
|
||||
if ( wait_default )
|
||||
wait = has_system && !access_join_or_die(target, "etc/fstab", F_OK);
|
||||
|
||||
if ( !has_system )
|
||||
system = false;
|
||||
|
||||
if ( wait_default )
|
||||
wait = system && !access_join_or_die(target, "etc/fstab", F_OK);
|
||||
|
||||
struct conf conf;
|
||||
conf_init(&conf);
|
||||
char* conf_path = join_paths(target, "etc/upgrade.conf");
|
||||
|
|
Loading…
Add table
Reference in a new issue