From aab2498a82e1900061ff3f7e759169ab86176f3e Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 3 May 2022 10:23:22 +0200 Subject: [PATCH] setfiles: fix up inconsistent indentation Commit 7ad84e7c8d4f ("Add restorecon -x option to not cross FS boundaries", 2020-06-18) used spaces vs. TABs inconsistently; run "unexpand" on the affected lines to make the indentation conform to the rest of the source code. Cc: "Richard W.M. Jones" Cc: Petr Lautrbach Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1794518 Signed-off-by: Laszlo Ersek --- policycoreutils/setfiles/setfiles.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/policycoreutils/setfiles/setfiles.c b/policycoreutils/setfiles/setfiles.c index ab7016ac..be88be5d 100644 --- a/policycoreutils/setfiles/setfiles.c +++ b/policycoreutils/setfiles/setfiles.c @@ -368,13 +368,13 @@ int main(int argc, char **argv) case '0': null_terminated = 1; break; - case 'x': - if (iamrestorecon) { + case 'x': + if (iamrestorecon) { r_opts.xdev = SELINUX_RESTORECON_XDEV; - } else { + } else { usage(argv[0]); - } - break; + } + break; case 'T': nthreads = strtoull(optarg, &endptr, 10); if (*optarg == '\0' || *endptr != '\0')