[Bug 1295274] [NEW] Error message is written to stdout

Sworddragon 1295274 at bugs.launchpad.net
Thu Mar 20 17:37:07 UTC 2014


Public bug reported:

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 at 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 at ubuntu:~# echo $?
1


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

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


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

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

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

Title:
  Error message is written to stdout

Status in “e2fsprogs” package in Ubuntu:
  New

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 at 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 at ubuntu:~# echo $?
  1

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

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

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

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



More information about the foundations-bugs mailing list