--- a/dwm.c
+++ b/dwm.c
@@ -693,7 +693,7 @@ cleanup(void)
 	/* kill child processes */
 	for (i = 0; i < autostart_len; i++) {
 		if (0 < autostart_pids[i]) {
-			kill(autostart_pids[i], SIGTERM);
+			kill(autostart_pids[i], autostart_kill_signal);
 			waitpid(autostart_pids[i], NULL, 0);
 		}
 	}