From dc3bce5dae6daf7a9d3c2996fdc581241549d165 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 23 Oct 2007 15:23:10 +0000 Subject: interupt -> interrupt --- etc.BSD/rc | 2 +- etc.BSD/rc.shutdown | 2 +- src/start-stop-daemon.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc.BSD/rc b/etc.BSD/rc index 1bf06e32..388b2664 100644 --- a/etc.BSD/rc +++ b/etc.BSD/rc @@ -9,7 +9,7 @@ # This gives us a nice colour boot :) [ -z "$TERM" -o "$TERM" = "dumb" ] && export TERM="cons25" -# Handle interupts +# Handle interrupts trap : SIGINT trap "echo 'Boot interrupted'; exit 1" SIGQUIT diff --git a/etc.BSD/rc.shutdown b/etc.BSD/rc.shutdown index eb2344b2..fade4308 100644 --- a/etc.BSD/rc.shutdown +++ b/etc.BSD/rc.shutdown @@ -5,7 +5,7 @@ # Ensure we are called by init [ "$PPID" = "1" ] || exit 0 -# Handle interupts +# Handle interrupts trap : SIGINT SIGQUIT # Try and use stuff in /lib over anywhere else so we can shutdown diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c index 98e0e535..0f1c8205 100644 --- a/src/start-stop-daemon.c +++ b/src/start-stop-daemon.c @@ -391,7 +391,7 @@ static int run_stop_schedule (const char *exec, const char *cmd, if (nanosleep (&ts, NULL) == -1) { if (errno == EINTR) - eerror ("%s: caught an interupt", applet); + eerror ("%s: caught an interrupt", applet); else { eerror ("%s: nanosleep: %s", applet, strerror (errno)); return (0); @@ -984,7 +984,7 @@ int start_stop_daemon (int argc, char **argv) while (nloops) { if (nanosleep (&ts, NULL) == -1) { if (errno == EINTR) - eerror ("%s: caught an interupt", applet); + eerror ("%s: caught an interrupt", applet); else { eerror ("%s: nanosleep: %s", applet, strerror (errno)); return (0); -- cgit v1.2.3