Output from checkupdates might be too long
This commit is contained in:
parent
32b07ce637
commit
e02563dfec
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ hello() {
|
||||||
sudo protonvpn c -f
|
sudo protonvpn c -f
|
||||||
echo
|
echo
|
||||||
# Don't update if its a kernel update that will require reboot
|
# Don't update if its a kernel update that will require reboot
|
||||||
if checkupdates; then
|
if checkupdates | grep linux; then
|
||||||
case "$(checkupdates)" in
|
case "$(checkupdates | grep linux)" in
|
||||||
*linux*)
|
*linux*)
|
||||||
echo "Not performing update"
|
echo "Not performing update"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue