return value of ubinize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody,


while using ubinize in a script, I observed return value "0" on error:


marcus@debian:~/kernel/linux-os-build-all$ /usr/sbin/ubinize -vv -o blub.ubi -m 2048 -p 128KiB blub
ubinize: LEB size:                  126976
ubinize: PEB size:                  131072
ubinize: min. I/O size:             2048
ubinize: sub-page size:             2048
ubinize: VID offset:                2048
ubinize: data offset:               4096
ubinize: UBI image sequence number: 2119018939
iniparser: cannot open blub
ubinize: error!: cannot load the input ini file "blub"
marcus@debian:~/kernel/linux-os-build-all$ echo $?
0

I would expect non-0.

Hope this information ist interesting for someone.

Cheers,

Marcus Wolf

Wolf-Entwicklungen
Helene-Lange-Weg 23
80637 München


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux