summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/partmgr2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/modules/partmgr b/backend/modules/partmgr
index c773e8d..618406b 100644
--- a/backend/modules/partmgr
+++ b/backend/modules/partmgr
@@ -4,9 +4,11 @@ function run_partmgr()
{
case "$1" in
cfdisk|fdisk)
+ get_root
TERM=xterm /sbin/"$1" "$2"
;;
gparted|qtparted)
+ get_root X
"$1" "$2"
;;
esac