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
|
||||
echo
|
||||
# Don't update if its a kernel update that will require reboot
|
||||
if checkupdates; then
|
||||
case "$(checkupdates)" in
|
||||
if checkupdates | grep linux; then
|
||||
case "$(checkupdates | grep linux)" in
|
||||
*linux*)
|
||||
echo "Not performing update"
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue