[Bug 1727285] [NEW] xfs_quota always exit with 0

Kaoet 1727285 at bugs.launchpad.net
Wed Oct 25 11:09:25 UTC 2017


Public bug reported:

The program xfs_quota always exit with 0, even on failure execution.

Example:
$ xfs_quota -c 'print' /im/not/xfs
xfs_quota: cannot setup path for mount /im/not/xfs: No such device or address

Expected: 
$ echo $?
1

Actual:
$ echo $?
0

Due to this bug, I cannot determine whether this command succeeds or
fails in scripts.

** Affects: xfsprogs (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  xfs_quota always exit with 0

Status in xfsprogs package in Ubuntu:
  New

Bug description:
  The program xfs_quota always exit with 0, even on failure execution.

  Example:
  $ xfs_quota -c 'print' /im/not/xfs
  xfs_quota: cannot setup path for mount /im/not/xfs: No such device or address

  Expected: 
  $ echo $?
  1

  Actual:
  $ echo $?
  0

  Due to this bug, I cannot determine whether this command succeeds or
  fails in scripts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/1727285/+subscriptions



More information about the foundations-bugs mailing list