summaryrefslogtreecommitdiff
path: root/backend/modules/partmgr
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-17 16:49:48 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-17 16:49:48 +0100
commita3f3aba32248f703735ee83612d17da128f38185 (patch)
tree4e6e41a47dfcf0b5175ca02a6b245c28f1a33d4d /backend/modules/partmgr
parent7a49b899d24648dc69fa392e3604d7ee88c1560c (diff)
downloadacritoxinstaller-a3f3aba32248f703735ee83612d17da128f38185.zip
acritoxinstaller-a3f3aba32248f703735ee83612d17da128f38185.tar.gz
min window size, "sudo gparted" fix
Diffstat (limited to 'backend/modules/partmgr')
-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