From 3281dbe1e320d1d999a795a2323f5d053e921600 Mon Sep 17 00:00:00 2001 From: Fortunato Ventre Date: Sun, 23 Aug 2015 11:36:10 +0200 Subject: [PATCH] Fix check for sed's follow-symlinks feature --- usr/lib/byobu/include/constants | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/byobu/include/constants b/usr/lib/byobu/include/constants index 1c6fe96d..06e73b5b 100755 --- a/usr/lib/byobu/include/constants +++ b/usr/lib/byobu/include/constants @@ -49,7 +49,7 @@ $BYOBU_TEST greadlink >/dev/null 2>&1 && export BYOBU_READLINK="greadlink" || ex $BYOBU_TEST sensible-pager >/dev/null 2>&1 && export BYOBU_PAGER="sensible-pager" || export BYOBU_PAGER="less" # Check sed's follow-symlinks feature -$BYOBU_SED --follow-symlinks "s///" /dev/null && BYOBU_SED="$BYOBU_SED --follow-symlinks" || true +$BYOBU_SED --follow-symlinks "s///" /dev/null 2>/dev/null && BYOBU_SED="$BYOBU_SED --follow-symlinks" || true # Determine if we have ulimit support $BYOBU_TEST ulimit >/dev/null 2>&1 && export BYOBU_ULIMIT="ulimit" || export BYOBU_ULIMIT="false"