diff options
author | Roy Marples <roy@marples.name> | 2007-10-23 15:23:10 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-23 15:23:10 +0000 |
commit | dc3bce5dae6daf7a9d3c2996fdc581241549d165 (patch) | |
tree | e9e22958ebbedf44975e8c974db796901aa0e2cf | |
parent | af510fb316cca1daef93da84a4396732982b3736 (diff) |
interupt -> interrupt
-rw-r--r-- | etc.BSD/rc | 2 | ||||
-rw-r--r-- | etc.BSD/rc.shutdown | 2 | ||||
-rw-r--r-- | src/start-stop-daemon.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -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); |