Fixed misbehavior in pid file
This commit is contained in:
parent
e5030f489a
commit
55cb6738ad
@ -88,6 +88,7 @@ then
|
||||
/usr/local/sbin/notify_all "Kernel update tracker" "New kernel installed\!" --icon=dialog-information
|
||||
elif [[ "$latest" == "$current" ]] && [[ ! -z $latest ]]
|
||||
then
|
||||
rm /tmp/kernelcheck.pid
|
||||
exit 0
|
||||
elif [[ -z $latest ]]
|
||||
then
|
||||
@ -103,4 +104,4 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm /tmp/kernelcheck.pid
|
||||
rm /tmp/kernelcheck.pid
|
||||
|
Reference in New Issue
Block a user