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
|
/usr/local/sbin/notify_all "Kernel update tracker" "New kernel installed\!" --icon=dialog-information
|
||||||
elif [[ "$latest" == "$current" ]] && [[ ! -z $latest ]]
|
elif [[ "$latest" == "$current" ]] && [[ ! -z $latest ]]
|
||||||
then
|
then
|
||||||
|
rm /tmp/kernelcheck.pid
|
||||||
exit 0
|
exit 0
|
||||||
elif [[ -z $latest ]]
|
elif [[ -z $latest ]]
|
||||||
then
|
then
|
||||||
@ -103,4 +104,4 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm /tmp/kernelcheck.pid
|
rm /tmp/kernelcheck.pid
|
||||||
|
Reference in New Issue
Block a user