Add warning log: Home directory already exists. 31/137031/3
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 4 Jul 2017 07:27:35 +0000 (16:27 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 5 Jul 2017 01:10:32 +0000 (10:10 +0900)
Change-Id: Ibe7afd37ed515588fb2046a2c813d3126a107e6c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/common/gum-file.c

index 4491c72..2104eab 100755 (executable)
@@ -853,6 +853,8 @@ gum_file_create_home_dir (
 
         retval = _copy_dir_recursively (skel_dir, home_dir, uid, gid, umask,
                 error);
+    } else {
+        WARN ("Error: Failed to copy files. Home directory(%s) already exists.", home_dir);
     }
 
     return retval;