mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 09:59:22 -05:00
silence output by mount/grep
This commit is contained in:
parent
a1154170c9
commit
b55913637b
@ -11,7 +11,7 @@
|
||||
set -e
|
||||
|
||||
## If hidepid is not in use, just use pkexec normally.
|
||||
if ! mount | grep "/proc" | grep "hidepid=2" ; then
|
||||
if ! mount | grep "/proc" | grep "hidepid=2" &>/dev/null ; then
|
||||
pkexec.security-misc-orig "$@"
|
||||
exit $?
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user