fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,21 @@
#include<stdio.h>
#include <signal.h>
#include <string.h>
#include <stdlib.h>
static void do_nothing(int signo, siginfo_t *info, void *context) {
}
int main(int argc, char **argv) {
struct sigaction sa;
memset(&sa, 0, sizeof(struct sigaction));
sa.sa_sigaction = do_nothing;
if (sigaction(SIGTERM, &sa, NULL) == -1) {
printf("Could not set up signal handler.\n");
return 1;
}
printf("Freezing forever.\n");
while(1) {
}
return 0;
}