diff --git a/remove-old-kernels b/remove-old-kernels index 26a6edd..d179cfa 100755 --- a/remove-old-kernels +++ b/remove-old-kernels @@ -17,8 +17,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -. shell-error - flavour_version_release="$(uname -r | awk -F- '{print $2"-"$3"-"$1"-"$4}')" old_kernels="$(rpm -qa | fgrep kernel-image | fgrep -v $flavour_version_release | tr '\n' ' ')"