linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* return value of ubinize
@ 2019-10-01 14:36 marcus.wolf
  2019-10-02  6:52 ` David Oberhollenzer
  0 siblings, 1 reply; 2+ messages in thread
From: marcus.wolf @ 2019-10-01 14:36 UTC (permalink / raw)
  To: linux-mtd

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-02  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 14:36 return value of ubinize marcus.wolf
2019-10-02  6:52 ` David Oberhollenzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).