Error message is written to stdout

Bug #1295274 reported by Removed by request
6
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm using Ubuntu 14.04 dev with e2fsprogs 1.42.9-3ubuntu1 and I have encountered an error message which is written to stdout. Here is the output:

root@ubuntu:~# e4defrag -c /var/cache/dictionaries-common/ispell-dicts-list.txt
 This file(/var/cache/dictionaries-common/ispell-dicts-list.txt) can't be defragmented.
 Done.
root@ubuntu:~# echo $?
1

If I'm forwarding now stdout I will get this:

root@ubuntu:~# e4defrag -c /var/cache/dictionaries-common/ispell-dicts-list.txt > /dev/null
root@ubuntu:~# echo $?
1

I think the message should be written to stderr instead of stdout.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.