octeon: sysupgrade: fix test for rootfs device

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43522
lede-17.01
John Crispin 2014-12-05 08:58:06 +00:00
parent dcc20e525b
commit 52f1d8ecdc
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ platform_do_upgrade() {
local board=$(octeon_board_name)
local rootfs="$(platform_get_rootfs)"
[ -d "${rootfs}" ] || return 1
[ -b "${rootfs}" ] || return 1
case "$board" in
erlite)