Use /bin/bash instead of /bin/sh
Fixes: $ shellcheck -S warning selinux-autorelabel-generator.sh In selinux-autorelabel-generator.sh line 22: source /etc/selinux/config ^------------------------^ SC3046 (warning): In POSIX sh, 'source' in place of '.' is undefined. For more information: https://www.shellcheck.net/wiki/SC3046 -- In POSIX sh, 'source' in place of... https://bugzilla.redhat.com/show_bug.cgi?id=2210593
This commit is contained in:
parent
3cac2f0428
commit
28f9992604
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# This systemd.generator(7) detects if SELinux is running and if the
|
||||
# user requested an autorelabel, and if so sets the default target to
|
||||
|
Loading…
Reference in New Issue
Block a user