commit 01491890df3a949694f13e7801f03ed083bdb2e8
parent e74718ad16ae6815188aa084e256c9dfe3676093
Author: Ilia Bozhinov <ammen99@gmail.com>
Date: Mon, 23 Mar 2020 11:30:03 +0100
Fix XDG_RUNTIME_DIR existence check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/start_wayfire.sh.in b/start_wayfire.sh.in
@@ -5,7 +5,7 @@ LD_LIBRARY_PATH=$LD_LIBRARY_PATH
# path is needed for wf-shell clients
PATH=$PATH
-if [ -d $XDG_RUNTIME_DIR ]; then
+if [ -d "$XDG_RUNTIME_DIR" ]; then
LOG_FILE=$XDG_RUNTIME_DIR/wayfire.log
if [ -f $LOG_FILE ]; then
cp $LOG_FILE $LOG_FILE.old