diff --git a/apps/onplay.c b/apps/onplay.c index 9ba70a353b..cfda5f4105 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -571,7 +571,7 @@ static bool delete_handler(bool is_dir) if (!res) onplay_result = ONPLAY_RELOAD_DIR; - return false; + return ((res == 0) ? true:false); }