mount_root: code failed in failsafe
authorJohn Crispin <john@phrozen.org>
Tue, 10 May 2016 13:39:37 +0000 (15:39 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 10 May 2016 16:45:56 +0000 (18:45 +0200)
commit09f8e0097fe1370700658542e7bda831c31de4bf
tree1849e9bb121d33aa64d61fe21e6b827d6311de2e
parentbb92c29fc4cd90d396fc79078eba75fcb01c92ae
mount_root: code failed in failsafe

the code checks if we are in PREINIT before mounting root.
change this to check if root is actually mounted.
this is a regression caused by ssh login during failsafe.

Signed-off-by: John Crispin <john@phrozen.org>
mount_root.c