Control: tag -1 + patch pending upstream

Hi js,

On Sat, Jun 17, 2017 at 11:37:18AM -0400, js wrote:
> Dear Maintainer,
> 
> I have set PS_FORMAT environment variable to control the output of ps.
> As a result, the following test from the gparted script always fails:
> 
> #
> #  Only permit one instance of GParted to execute at a time
> #
> if test "z`ps -e | grep gpartedbin`" != "z"; then                     ###### 
> env-dependent test
>     echo "The process gpartedbin is already running."
>           echo "Only one gpartedbin process is permitted."
>                   exit 1
>                       fi

This is absolutely correct.

Please find enclosed a patch that fixes the issue,
using pgrep(1) instead of ps(1).

I commited the patch to the packaging repository, so it should be part of the
next upload of gparted, and I am forwarding it upstream.


Best regards,

  nicoo

Attachment: signature.asc
Description: PGP signature

Reply via email to