[CentOS] bash script fails conditional test
Stephen Harris
lists at spuddy.orgSun Apr 19 17:20:56 UTC 2015
- Previous message: [CentOS] bash script fails conditional test
- Next message: [CentOS] bash script fails conditional test
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] bash script fails conditional test
- Next message: [CentOS] bash script fails conditional test
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list