diff options
Diffstat (limited to 'winsup/cygserver')
-rw-r--r-- | winsup/cygserver/Makefile.am | 2 | ||||
-rwxr-xr-x | winsup/cygserver/cygserver-config | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygserver/Makefile.am b/winsup/cygserver/Makefile.am index ec7a622..efb578e 100644 --- a/winsup/cygserver/Makefile.am +++ b/winsup/cygserver/Makefile.am @@ -12,7 +12,9 @@ cygserver_flags=$(cxxflags_common) -Wimplicit-fallthrough=5 -Werror -DSYSCONFDIR AM_CXXFLAGS = $(CFLAGS) noinst_LIBRARIES = libcygserver.a +if BUILD_CYGSERVER sbin_PROGRAMS = cygserver +endif bin_SCRIPTS = cygserver-config cygserver_SOURCES = \ diff --git a/winsup/cygserver/cygserver-config b/winsup/cygserver/cygserver-config index 373bfd2..abda186 100755 --- a/winsup/cygserver/cygserver-config +++ b/winsup/cygserver/cygserver-config @@ -89,7 +89,7 @@ _sys="`uname`" _nt=`expr "${_sys}" : "CYGWIN_NT"` # Check for running cygserver processes first. -if ps -ef | grep -v grep | grep -q ${service_name} +if ps -e | grep -v grep | grep -q ${service_name} then echo echo "There is a cygserver (${service_name}) already running. Nothing to do, apparently." |