mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 14:06:05 -04:00
silence output by mount/grep
This commit is contained in:
parent
a1154170c9
commit
b55913637b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue