[Bug 1595148] Re: 0 is returned when there is nothing to do

Sworddragon 1595148 at bugs.launchpad.net
Thu Jun 23 22:29:39 UTC 2016


** Changed in: binfmt-support (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binfmt-support in Ubuntu.
https://bugs.launchpad.net/bugs/1595148

Title:
  0 is returned when there is nothing to do

Status in binfmt-support package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu 16.10 dev with binfmt-support 2.1.6-1 and on trying
  to remove a non-existent entry from the database a warning is being
  displayed but 0 is returned like in this example:

  root at ubuntu:~# update-binfmts --remove EXE /opt/wine-devel/bin/wine
  update-binfmts: warning: /var/lib/binfmts/EXE does not exist; nothing to do!
  root at ubuntu:~# echo $?
  0

  
  Additionally trying to add an entry twice for example with "update-binfmts --install EXE /opt/wine-devel/bin/wine --magic MZ" does not result in a warning that the entry already exists and 0 is returned too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/1595148/+subscriptions



More information about the foundations-bugs mailing list