Whamcloud - gitweb
LU-4100 utils: Remove extra space of lfs getstripe 92/7992/3
authorLi Xi <lixi@ddn.com>
Fri, 18 Oct 2013 03:44:35 +0000 (20:44 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 25 Oct 2013 03:09:30 +0000 (03:09 +0000)
commit442548d59faf72f89337fdd3a420bfd6ed2b2526
treefe7d6f0d7f22320ddd03dc78d3600dbcfc62a2d3
parent5d9d8eb41a7465d4810c82c08d97e70c3f3749c2
LU-4100 utils: Remove extra space of lfs getstripe

'lfs getstripe $dir' command prints an extra space at the end of
the output line, which is particularly annoying for parsing in
scripts.

This patch fixes this problem.

Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: Iee50939f2b93bbd8d1c506bb90bc761a9f4dbeaf
Reviewed-on: http://review.whamcloud.com/7992
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/liblustreapi.c