diff options
author | pr.jung <pr.jung@samsung.com> | 2018-09-04 11:12:48 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2018-09-04 11:20:39 +0900 |
commit | 321c3fde7ee8c3c222961fe574fac89fc2dd4636 (patch) | |
tree | 27a73ba431359e34775eeb07d45d496f23f02c9f | |
parent | 36924d3b621645964f1cffbdfdb0bdc93ee33f57 (diff) | |
download | system-plugin-submit/tizen/20180904.022130.tar.gz system-plugin-submit/tizen/20180904.022130.tar.bz2 system-plugin-submit/tizen/20180904.022130.zip |
Fix a bug on headless_env.shsubmit/tizen/20180904.022130accepted/tizen/unified/20180904.180628
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.sh | 4 |
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 |