summaryrefslogtreecommitdiff
path: root/extra/gparted/gparted_polkit
blob: ebf9b13a3c00c94eabda44631425d58f8de74197 (plain)
1
2
3
4
5
6
#!/bin/sh
if [ $(which pkexec) ]; then
  pkexec --disable-internal-agent "/usr/bin/gparted" "$@"
else
  /usr/bin/gparted "$@"
fi