diff --git a/kernelcheck b/kernelcheck index 12300b8..ad61897 100755 --- a/kernelcheck +++ b/kernelcheck @@ -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 \ No newline at end of file +rm /tmp/kernelcheck.pid