diff --git a/kernelcheck b/kernelcheck index 4da2351..27bd1c4 100755 --- a/kernelcheck +++ b/kernelcheck @@ -56,6 +56,7 @@ then rm /tmp/kernelcheck/kernelcheck.pid exit 1 fi + cd /tmp/kernelcheck tar xf /tmp/kernelcheck/linux-$latest.tar while [ ! -d /tmp/kernelcheck/linux-$latest ] # Executed if tar xf command failed to write directory do