diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-12 18:56:29 +0400 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-12 18:56:29 +0400 |
commit | ba0a8b560760d2de679659a0914c1d47dd6dc10e (patch) | |
tree | ecef0fe1cf6449b9bbcdbcfc5fc517fcf82794b5 | |
parent | 1b20536315fdc449ef8e791a6862acf0d017a71b (diff) |
Remove a useless pipe
Submitted by: Freddy DISSAUX <dsx@bsdsx.fr>
-rwxr-xr-x | src/share/poudriere/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index 897b5173..34002245 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -540,7 +540,7 @@ get_data_dir() { if [ -z "${NO_ZFS}" ]; then data=$(zfs list -rt filesystem -H -o ${NS}:type,mountpoint ${ZPOOL}${ZROOTFS} 2>/dev/null | - awk '$1 == "data" { print $2 }' | head -n 1) + awk '$1 == "data" { print $2; exit; }') if [ -n "${data}" ]; then echo $data return |