1 |
commit: 53c9407e9aae76b4d2284f7eba3e650895923555 |
2 |
Author: Michael Everitt <m.j.everitt <AT> iee <DOT> org> |
3 |
AuthorDate: Sun Sep 9 17:17:27 2018 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 16:19:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=53c9407e |
7 |
|
8 |
Fix mis-spelling of 'received' in chroot-functions.sh |
9 |
|
10 |
targets/support/chroot-functions.sh | 12 ++++++------ |
11 |
1 file changed, 6 insertions(+), 6 deletions(-) |
12 |
|
13 |
diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh |
14 |
index 84d90fe9..ceef21ca 100755 |
15 |
--- a/targets/support/chroot-functions.sh |
16 |
+++ b/targets/support/chroot-functions.sh |
17 |
@@ -3,19 +3,19 @@ |
18 |
# Set the profile |
19 |
eselect profile set ${clst_target_profile} |
20 |
|
21 |
-# Trap these signals and kill ourselves if recieved |
22 |
-# Force ourselves to die if any of these signals are recieved |
23 |
+# Trap these signals and kill ourselves if received |
24 |
+# Force ourselves to die if any of these signals are received |
25 |
# most likely our controlling terminal is gone |
26 |
-trap "echo SIGTERM signal recieved killing $0 with pid $$;kill -9 $$" SIGTERM |
27 |
-trap "echo SIGHUP signal recieved killing $0 with pid $$;kill -9 $$" SIGHUP |
28 |
-trap "echo SIGKILL signal recieved killing $0 with pid $$;kill -9 $$" SIGKILL |
29 |
+trap "echo SIGTERM signal received killing $0 with pid $$;kill -9 $$" 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 $$" SIGKILL |
32 |
|
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 |
|
41 |
# test if CHOST was set on the python side |
42 |
if [[ -z "${clst_CHOST}" ]] ; then |