diff options
Diffstat (limited to 'dfly-update')
-rwxr-xr-x | dfly-update | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dfly-update b/dfly-update index 25826a0..769f32f 100755 --- a/dfly-update +++ b/dfly-update @@ -678,7 +678,8 @@ cmd_cleanup() { [ $# -eq 0 ] || \ error ${EC_ARGS} "cmd_cleanup: invalid arguments: $@" cleanup - local filepath=$(get_vn_filename ${MNT_DIR}) + local vn=$(get_vn_devname ${MNT_DIR}) + local filepath=$(get_vn_filename ${vn}) umount_image ${MNT_DIR} rm -f ${filepath} echo "Removed image file: ${filepath}" |