diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index 63988d0..b9f0d35 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -316,6 +316,7 @@ check() { fi echo "${update_available}" > "${statedir}/current_check" + sed -i '/^\s*$/d' "${statedir}/current_check" fi if [ -n "${update_available}" ]; then