aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README4
-rw-r--r--src/satd-diminished.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/README b/README
index 3eca018..4dea805 100644
--- a/README
+++ b/README
@@ -56,6 +56,10 @@ ENVIRONMENT
a home and is not root), or /etc/sat/hook (otherwise) is
used.
+NOTES
+ nohup(1) combined with sh(1) and, sleep(1) or sleep-until(1)
+ should be sufficient for most users.
+
SEE ALSO
at(1), cron(1), sleep-until(1)
diff --git a/src/satd-diminished.c b/src/satd-diminished.c
index b18c5cf..fd41f14 100644
--- a/src/satd-diminished.c
+++ b/src/satd-diminished.c
@@ -85,6 +85,8 @@ main(int argc, char *argv[])
const char *image;
struct stat _attr;
+ /* TODO set up signal handlers. */
+
/* Pick-up where we left off. */
if (!fstat(CONN_FILENO, &_attr)) {
fd = CONN_FILENO;
@@ -93,6 +95,7 @@ main(int argc, char *argv[])
goto fail;
}
+ /* The magnificent loop. */
accept_again:
fd = accept(SOCK_FILENO, NULL, NULL);
if (fd == -1) {