From 150a1e2ab551a9356bf22390ccddcb5a6520a6e3 Mon Sep 17 00:00:00 2001 From: toloveru Date: Wed, 19 Apr 2017 15:59:45 +0200 Subject: [PATCH] Fixed tar xf error --- kernelcheck | 1 + 1 file changed, 1 insertion(+) 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