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