Add redirection of output to /dev/null for xdg-open
Signed-off-by: Apostolis Anastasiou <apostolis.anastasiou.alpha@gmail.com>
This commit is contained in:
parent
3cc8ab1cb8
commit
ec9617eafe
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ if [ -z "${NO_OPEN:-}" ]; then
|
||||||
if [ -s "$REPORT_OUTPUT" ]; then
|
if [ -s "$REPORT_OUTPUT" ]; then
|
||||||
if command -v open >/dev/null; then
|
if command -v open >/dev/null; then
|
||||||
open $REPORT_OUTPUT
|
open $REPORT_OUTPUT
|
||||||
elif [ -x "$(command -v xdg-open)" ]; then
|
elif [ -x "$(command -v xdg-open >/dev/null)" ]; then
|
||||||
xdg-open $REPORT_OUTPUT
|
xdg-open $REPORT_OUTPUT
|
||||||
else
|
else
|
||||||
echo "Please open $REPORT_OUTPUT"
|
echo "Please open $REPORT_OUTPUT"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue