blob: 7c1cd085eee053de99cbdff318b3bb755e3372fa [file] [log] [blame]
/*
* Copyright (C) 2021 CESNET, https://photonics.cesnet.cz/
*
* Written by Václav Kubernát <kubernat@cesnet.cz>
*
*/
#include <csignal>
#include <unistd.h>
#include "waitUntilSignalled.h"
void waitUntilSignaled()
{
signal(SIGTERM, [](int) {});
signal(SIGINT, [](int) {});
pause();
}