```
~ fsck -n /dev/sda2
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
fsck.ext4: Permission denied while trying to open /dev/sda2
You must have r/o access to the filesystem or be root

~ e4defrag -c /dev/sda2
 Done.
```

The user's expectation is to be informed of the reason the execution
failed. Instead, e4defrag suppresses the error and returns an exit
status of 0, unlike fsck, as illustrated above.

This is a valid bug because the output does not indicate that there was
an issue with privileges during execution.

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

Title:
  e4defrag -c /mountpoint does not provide expected output

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to