aboutsummaryrefslogtreecommitdiff
path: root/src/usr/bin/myautomount-trayicon
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/bin/myautomount-trayicon')
-rwxr-xr-xsrc/usr/bin/myautomount-trayicon4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/bin/myautomount-trayicon b/src/usr/bin/myautomount-trayicon
index 2b39ced..d6ccc9f 100755
--- a/src/usr/bin/myautomount-trayicon
+++ b/src/usr/bin/myautomount-trayicon
@@ -1,6 +1,6 @@
#!/bin/sh
# Part of myautomount project
. ${MYA_PREFIX}/etc/myautomount.conf
-. ${XDG_CONFIG_HOME:-${HOME}/.config}/myautomount.conf
-env
+MYA_USER_CFG="${XDG_CONFIG_HOME:-${HOME}/.config}/myautomount.conf"
+test -r "${MYA_USER_CFG}" && . "${MYA_USER_CFG}"
${MYA_PREFIX}/usr/libexec/myautomount/myautomount-trayicon.py
bgstack15