system-controller: launch HS with user name instead of user dir.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Tue, 21 Oct 2014 10:10:48 +0000 (13:10 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:19 +0000 (18:37 +0200)
Change-Id: Ib9f0e5d23b89471d1528051d6bca63505b8ef032

src/plugins/system-controller/user/user.c

index eca1ca8..7bdeedf 100644 (file)
@@ -480,7 +480,7 @@ static bool launch_hs(user_manager_config_t *ctx)
         return FALSE;
     }
 
-    bundle_add(b, "HS_PARAM_U", current_user->user_dir);
+    bundle_add(b, "HS_PARAM_U", current_user->name);
     bundle_add(b, "HS_PARAM_D", current_user->runningapp_path);
     bundle_add(b, "HS_PARAM_DD", ctx->defaultapps_path);
     bundle_add(b, "HS_PARAM_FLG", ctx->flag_file_path);