d2bdca
diff -up util-linux-2.23.2/login-utils/su-common.c.kzak util-linux-2.23.2/login-utils/su-common.c
d2bdca
--- util-linux-2.23.2/login-utils/su-common.c.kzak	2015-06-24 11:14:25.102395082 +0200
d2bdca
+++ util-linux-2.23.2/login-utils/su-common.c	2015-06-24 11:22:20.472859684 +0200
d2bdca
@@ -359,10 +359,9 @@ create_watching_parent (void)
d2bdca
       if (pid != (pid_t)-1)
d2bdca
 	if (WIFSIGNALED (status))
d2bdca
 	  {
d2bdca
-	    status = WTERMSIG (status) + 128;
d2bdca
-	    if (WCOREDUMP (status))
d2bdca
-	      fprintf (stderr, _("%s (core dumped)\n"),
d2bdca
-                 strsignal (WTERMSIG (status)));
d2bdca
+            fprintf (stderr, "%s%s\n", strsignal (WTERMSIG (status)),
d2bdca
+                     WCOREDUMP (status) ? _(" (core dumped)") : "");
d2bdca
+            status = WTERMSIG (status) + 128;
d2bdca
 	  }
d2bdca
 	else
d2bdca
 	  status = WEXITSTATUS (status);