Skip to content

Commit

Permalink
#1 Fixed tirex restart script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattesCZ committed May 1, 2015
1 parent 893f1ce commit d24a6aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osm_data_processing/restart_tirex.sh
Expand Up @@ -5,9 +5,9 @@

killprocess(){
PNUM=`pgrep -f "$1"`
if [ PNUM -gt 0 ];
if [ $PNUM -gt 0 ];
then
kill -9 $1
kill $PNUM
fi
return 0
}
Expand Down

0 comments on commit d24a6aa

Please sign in to comment.