summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
da5773e)
In path2fid() propagate errors from 'lfs path2fid'. In
file_creation_failure() redirect the output of df to stderr so that it
is not captured by command substitution.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I7fabf46af4aa36c6affef45cf8c9b044a7aa29dd
Reviewed-on: http://review.whamcloud.com/13154
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
path2fid() {
$LFS path2fid $1 | tr -d '[]'
path2fid() {
$LFS path2fid $1 | tr -d '[]'
+ return ${PIPESTATUS[0]}
error "cannot create $f with $cmd, status=$err"
}
error "cannot create $f with $cmd, status=$err"
}