1 |
From 58119dd43d6c1f28a6c0dd935a262d9da8e941b4 Mon Sep 17 00:00:00 2001 |
2 |
From: Michael Everitt <m.j.everitt@×××.org> |
3 |
Date: Sun, 9 Sep 2018 18:17:27 +0100 |
4 |
Subject: [PATCH] Fix mis-spelling of 'received' in chroot-functions.sh |
5 |
|
6 |
--- |
7 |
targets/support/chroot-functions.sh | 12 ++++++------ |
8 |
1 file changed, 6 insertions(+), 6 deletions(-) |
9 |
|
10 |
diff --git a/targets/support/chroot-functions.sh |
11 |
b/targets/support/chroot-functions.sh |
12 |
index 84d90fe..ceef21c 100755 |
13 |
--- a/targets/support/chroot-functions.sh |
14 |
+++ b/targets/support/chroot-functions.sh |
15 |
@@ -3,19 +3,19 @@ |
16 |
# Set the profile |
17 |
eselect profile set ${clst_target_profile} |
18 |
-# Trap these signals and kill ourselves if recieved |
19 |
-# Force ourselves to die if any of these signals are recieved |
20 |
+# Trap these signals and kill ourselves if received |
21 |
+# Force ourselves to die if any of these signals are received |
22 |
# most likely our controlling terminal is gone |
23 |
-trap "echo SIGTERM signal recieved killing $0 with pid $$;kill -9 $$" |
24 |
SIGTERM |
25 |
-trap "echo SIGHUP signal recieved killing $0 with pid $$;kill -9 $$" SIGHUP |
26 |
-trap "echo SIGKILL signal recieved killing $0 with pid $$;kill -9 $$" |
27 |
SIGKILL |
28 |
+trap "echo SIGTERM signal received killing $0 with pid $$;kill -9 $$" |
29 |
SIGTERM |
30 |
+trap "echo SIGHUP signal received killing $0 with pid $$;kill -9 $$" SIGHUP |
31 |
+trap "echo SIGKILL signal received killing $0 with pid $$;kill -9 $$" |
32 |
SIGKILL |
33 |
#SIGINT interrupt character (usually Ctrl-C) |
34 |
# * example: high-level sequence of events |
35 |
# * my process (call it "P") is running |
36 |
# * user types ctrl-c |
37 |
# * kernel recognizes this and generates SIGINT signal |
38 |
-trap "echo SIGINT signal recieved killing $0 with pid $$;kill -9 $$" SIGINT |
39 |
+trap "echo SIGINT signal received killing $0 with pid $$;kill -9 $$" SIGINT |
40 |
# test if CHOST was set on the python side |
41 |
if [[ -z "${clst_CHOST}" ]] ; then |
42 |
-- |
43 |
2.13.6 |