mirror of
https://github.com/apache/sqoop.git
synced 2025-05-02 07:21:58 +08:00
SQOOP-202. sqoop-metastore should be able to handle missing pid files
Signed-off-by: Jonathan Hsieh <jon@cloudera.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1150034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6acded9bb9
commit
da297a784b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user