diff --git a/gparted.in b/gparted.in index 179ea1d6..bf656f0b 100755 --- a/gparted.in +++ b/gparted.in @@ -46,6 +46,13 @@ if pidof gpartedbin 1> /dev/null; then exit 1 fi +# Only permit GParted to launch if Rescuezilla (Clonezilla GUI) is not running. +# +if test "x`ps -e | grep rescuezillapy`" != "x"; then + display_msg "Cannot launch GParted because the process rescuezillapy is running.\n\nClose Rescuezilla then try again." + exit 1 +fi + # # Define base command for executing GParted #