Skip to content

Commit 9b41897

Browse files
committed
Cygwin: cygserver: Drop -f option from ps in cygserver-config
... because cygserver-config no longer works due to the behaviour change of -f option in 'ps'. Addresses: https://cygwin.com/pipermail/cygwin/2025-April/258086.html Fixes: 1ce9756 ("Cygwin: ps -f: output command line") Reported-by: Christian Lupien <[email protected]> Signed-off-by: Takashi Yano <[email protected]>
1 parent 39373fe commit 9b41897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winsup/cygserver/cygserver-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ _sys="`uname`"
8989
_nt=`expr "${_sys}" : "CYGWIN_NT"`
9090

9191
# Check for running cygserver processes first.
92-
if ps -ef | grep -v grep | grep -q ${service_name}
92+
if ps -e | grep -v grep | grep -q ${service_name}
9393
then
9494
echo
9595
echo "There is a cygserver (${service_name}) already running. Nothing to do, apparently."

0 commit comments

Comments
 (0)