We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
[ p ] && [ q ]
[ p -a q ]
1 parent d0a637d commit 48443e6Copy full SHA for 48443e6
eos-lxdm-gtk3/Xsession
@@ -4,7 +4,7 @@
4
5
echo "Running X session wrapper"
6
7
-if [ $# -eq 1 -a -n "$1" ]; then
+if [ $# -eq 1 ] && [ -n "$1" ]; then
8
LXSESSION=$1
9
else
10
# default session
@@ -53,15 +53,15 @@ xinitdir="/etc/X11/xinit/xinitrc.d"
53
if [ -d "$xinitdir" ]; then
54
for script in $xinitdir/*; do
55
echo "Loading xinit script $script"
56
- if [ -x "$script" -a ! -d "$script" ]; then
+ if [ -x "$script" ] && ! [ -d "$script" ]; then
57
. "$script"
58
fi
59
done
60
61
62
# Run user xsession shell script
63
script="$HOME/.xsession"
64
-if [ -x "$script" -a ! -d "$script" ]; then
+if [ -x "$script" ] && ! [ -d "$script" ]; then
65
echo "Loading xsession script $script"
66
67
0 commit comments