diff --git a/bin/stop-metastore.sh b/bin/stop-metastore.sh index 1ddc9132..988e8c49 100755 --- a/bin/stop-metastore.sh +++ b/bin/stop-metastore.sh @@ -55,10 +55,4 @@ fi # Remove the pidfile lock. -if [ ! -e "$pidfilename" ]; then - echo "No pid file $pidfilename" - exit 0 -fi - -rm "$pidfilename" - +rm -f "$pidfilename"