[CentOS] bash script fails conditional test

Sun Apr 19 17:20:56 UTC 2015
Stephen Harris <lists at spuddy.org>

On Sun, Apr 19, 2015 at 01:15:36PM -0400, Tim Dunphy wrote:
> if [[ -e $pid ]]

"-e" means "if file exists".  You should use "-n"

-- 

rgds
Stephen