mdisk: Restart sleep prevention if unmount failed
commit5ec011341e0691039154c3d6a23e067445b3f83e
authorØyvind A. Holm <sunny@sunbase.org>
Fri, 1 Dec 2023 11:27:47 +0000 (1 12:27 +0100)
committerØyvind A. Holm <sunny@sunbase.org>
Fri, 1 Dec 2023 11:27:47 +0000 (1 12:27 +0100)
tree13e95893032627b7f99fa166a832bedd1707e3eb
parent2a092e95e136509c174f63e2b0c9890851865e3f
mdisk: Restart sleep prevention if unmount failed

It checks if `$ds_dir` exists and if it does, it means the disk is still
mounted and the sleep prevention has to continue.

f237938a-903c-11ee-92fe-83850402c3ce
mdisk