Change-Id: Iab84d582185bbfb824912f3d658b10d0b64dae5b
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
//umount TZ_USER_CONTENT
::tzplatform_set_user(user.getUid());
- if (::umount2(::tzplatform_getenv(TZ_USER_CONTENT), MNT_FORCE) != 0)
- throw runtime::Exception("Failed to umount2");
+ if (::umount2(::tzplatform_getenv(TZ_USER_CONTENT), MNT_FORCE) != 0) {
+ WARN("Failed to umount2 : TZ_USER_CONTENT");
+ }
::tzplatform_reset_user();
//remove krate user