sysupgrade: added missing quotes

pull/281/head
cronyx 2022-07-27 14:45:29 +03:00
parent 622c183ffd
commit beb8f39f8e
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ free_resources() {
}
self_update() {
if echo ${args} | grep "rootfs" || echo ${args} | grep "kernel" || echo "${args}" | grep -- "-n" > /dev/null 2>&1; then
if echo "${args}" | grep "rootfs" || echo "${args}" | grep "kernel" || echo "${args}" | grep -- "-n" > /dev/null 2>&1; then
echo -e "\nOffline upgrade or Overlay clean, skip sysupgrade version check."
else
echo -e "\nOnline upgrade, checking sysupgrade version..."