summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpr.jung <pr.jung@samsung.com>2018-09-04 11:12:48 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2018-09-04 11:20:39 +0900
commit321c3fde7ee8c3c222961fe574fac89fc2dd4636 (patch)
tree27a73ba431359e34775eeb07d45d496f23f02c9f
parent36924d3b621645964f1cffbdfdb0bdc93ee33f57 (diff)
downloadsystem-plugin-321c3fde7ee8c3c222961fe574fac89fc2dd4636.tar.gz
system-plugin-321c3fde7ee8c3c222961fe574fac89fc2dd4636.tar.bz2
system-plugin-321c3fde7ee8c3c222961fe574fac89fc2dd4636.zip
Change-Id: Ib5c4464c62b919cb53343a4e6400fd90f1259a5b Signed-off-by: pr.jung <pr.jung@samsung.com> Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r--scripts/headless_env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/headless_env.sh b/scripts/headless_env.sh
index cb1b417..cb9062d 100644
--- a/scripts/headless_env.sh
+++ b/scripts/headless_env.sh
@@ -1,10 +1,10 @@
-if [ "$XDG_RUNTIME_DIR" = "" ]
+if [ "$XDG_RUNTIME_DIR" = "" ];
then
export XDG_RUNTIME_DIR=/run
fi
# Ugly workaround to remove "user" filesystem label for two-partition headless images
-if [ -e /dev/disk/by-label/user ]; then
+if [ -e /dev/disk/by-label/user ];
then
e2label /dev/disk/by-label/user ''
fi