Skip to content

Commit

Permalink
use the standard printf since echo -n isn't as portable
Browse files Browse the repository at this point in the history
  • Loading branch information
kenyon committed Feb 14, 2012
1 parent e325599 commit e928f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/node.d.freebsd/df_inode.in
Expand Up @@ -22,7 +22,7 @@ print_values() {
mfs:*) name=mfs$mfs; mfs=`expr $mfs + 1`;;
*) name=`echo $i | awk '{ gsub("[^a-zA-Z0-9_]", "_", $1); print $1 }'` ;;
esac
echo -n "$name.value "
printf "$name.value "
echo $i | awk '{ print $8 }' | cut -f1 -d%
done
}
Expand Down

0 comments on commit e928f15

Please sign in to comment.