summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--rvnit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rvnit.c b/rvnit.c
index 021ad42..4fa1968 100644
--- a/rvnit.c
+++ b/rvnit.c
@@ -276,7 +276,7 @@ socket_loop(void* ignored)
 			pthread_kill(main_thread, SIGCONT);
 		}
 
-		if (cmd == 'X') {
+		if (cmd == 'S') {
 			write(connfd, "ok\n", 3);
 			want_shutdown = 1;
 			pthread_kill(main_thread, SIGCONT);