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