summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2017-01-27 12:04:52 +1300
committerRobert Ancell <robert.ancell@canonical.com>2017-01-27 12:04:52 +1300
commit2c09761a3ca0fe39808f42d4c971b40e8535a33a (patch)
tree736c50ede0aec4ee7ca2c8a02e1e880afc86dc0d
parent7e79c25fd192ddb108e4bb51a5a46ef9c2ecba90 (diff)
downloadlightdm-git-2c09761a3ca0fe39808f42d4c971b40e8535a33a.tar.gz
Update code comment
-rw-r--r--src/lightdm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lightdm.c b/src/lightdm.c
index 4b298bcf..0ad438f6 100644
--- a/src/lightdm.c
+++ b/src/lightdm.c
@@ -646,8 +646,9 @@ main (int argc, char **argv)
GError *error = NULL;
/* Disable the SIGPIPE handler - this is a stupid Unix hangover behaviour.
- * We will handle piples / sockets being closed instead of having the whole daemon be killed...
+ * We will handle pipes / sockets being closed instead of having the whole daemon be killed...
* http://stackoverflow.com/questions/8369506/why-does-sigpipe-exist
+ * Similar case for SIGHUP.
*/
action.sa_handler = SIG_IGN;
sigemptyset (&action.sa_mask);