mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-28 02:29:23 -05:00
silence output by mount/grep
This commit is contained in:
parent
a1154170c9
commit
b55913637b
@ -11,7 +11,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
## If hidepid is not in use, just use pkexec normally.
|
## 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 "$@"
|
pkexec.security-misc-orig "$@"
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user