Skip to content

Commit 6b303bd

Browse files
authored
Should be -S to check if a socket exists
1 parent d1ec48b commit 6b303bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autostart/crew-sudo.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
if grep -q '^/sbin/frecon' < "/proc/$(ps -p $PPID -o ppid= | tr -d ' ')/cmdline"; then
22
# start crew-sudo daemon if running in VT-2
3-
[ -f /tmp/crew-sudo.socket ] || crew-sudo daemon --bashrc
4-
fi
3+
[ -S /tmp/crew-sudo.socket ] || crew-sudo daemon --bashrc
4+
fi

0 commit comments

Comments
 (0)