summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-linux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c
index 030c733df..7f15d06fb 100644
--- a/openbsd-compat/port-linux.c
+++ b/openbsd-compat/port-linux.c
@@ -96,6 +96,7 @@ ssh_selinux_getctxbyname(char *pwname)
96 case 0: 96 case 0:
97 error("%s: Failed to get default SELinux security " 97 error("%s: Failed to get default SELinux security "
98 "context for %s", __func__, pwname); 98 "context for %s", __func__, pwname);
99 break;
99 default: 100 default:
100 fatal("%s: Failed to get default SELinux security " 101 fatal("%s: Failed to get default SELinux security "
101 "context for %s (in enforcing mode)", 102 "context for %s (in enforcing mode)",
@@ -132,6 +133,7 @@ ssh_selinux_setup_exec_context(char *pwname)
132 case 0: 133 case 0:
133 error("%s: Failed to set SELinux execution " 134 error("%s: Failed to set SELinux execution "
134 "context for %s", __func__, pwname); 135 "context for %s", __func__, pwname);
136 break;
135 default: 137 default:
136 fatal("%s: Failed to set SELinux execution context " 138 fatal("%s: Failed to set SELinux execution context "
137 "for %s (in enforcing mode)", __func__, pwname); 139 "for %s (in enforcing mode)", __func__, pwname);