summaryrefslogtreecommitdiffstats
path: root/DirectVolume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DirectVolume.cpp')
-rw-r--r--DirectVolume.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/DirectVolume.cpp b/DirectVolume.cpp
index 7e8ac68..fa3eb9a 100644
--- a/DirectVolume.cpp
+++ b/DirectVolume.cpp
@@ -220,6 +220,10 @@ void DirectVolume::handlePartitionAdded(const char *devpath, NetlinkEvent *evt)
#endif
if (getState() != Volume::State_Formatting) {
setState(Volume::State_Idle);
+ if (mRetryMount == true) {
+ mRetryMount = false;
+ mountVol();
+ }
}
} else {
#ifdef PARTITION_DEBUG