diff --git a/lib/debian-finish.sh b/lib/debian-finish.sh index 2556325..96fde30 100644 --- a/lib/debian-finish.sh +++ b/lib/debian-finish.sh @@ -197,9 +197,9 @@ if [ ! "x${dtb}" = "x" ] ; then fi if [ ! "x${optargs}" = "x" ] ; then echo "optargs=${optargs}" >> ${wfile} -fi -if [ ! "x${video}" = "x" ] ; then - echo "cmdline=video=${video}" >> ${wfile} + if [ ! "x${video}" = "x" ] ; then + echo "cmdline=video=${video}" >> ${wfile} + fi fi # diff --git a/lib/ubuntu-finish.sh b/lib/ubuntu-finish.sh index ff8074f..961356f 100644 --- a/lib/ubuntu-finish.sh +++ b/lib/ubuntu-finish.sh @@ -231,9 +231,9 @@ if [ ! "x${dtb}" = "x" ] ; then fi if [ ! "x${optargs}" = "x" ] ; then echo "optargs=${optargs}" >> ${wfile} -fi -if [ ! "x${video}" = "x" ] ; then - echo "cmdline=video=${video}" >> ${wfile} + if [ ! "x${video}" = "x" ] ; then + echo "cmdline=video=${video}" >> ${wfile} + fi fi #