Skip to content

Commit

Permalink
Update DynamicMountDetails.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ks734 authored Mar 28, 2024
1 parent 36567fd commit 7aac3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdkPlugins/Storage/source/DynamicMountDetails.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ bool DynamicMountDetails::onPostStop() const

if (stat(targetPath.c_str(), &buffer) == 0)
{
if (remove(targetPath.c_str()) == 0)
if (umount(targetPath.c_str()) == 0)
{
success = true;
}
Expand Down

0 comments on commit 7aac3f3

Please sign in to comment.