[gnome-session] gnome-session: drop bashism from shell script
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] gnome-session: drop bashism from shell script
- Date: Thu, 25 Aug 2016 16:57:15 +0000 (UTC)
commit 08125eddf19832b69c090ff094a178d4f630a643
Author: Ray Strode <rstrode redhat com>
Date: Thu Aug 25 12:55:48 2016 -0400
gnome-session: drop bashism from shell script
Apparently dash doesn't support >& and some people use dash.
This commit changes it to the more wordy form > ... 2>&1 .
https://bugzilla.gnome.org/show_bug.cgi?id=770363
gnome-session/gnome-session.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/gnome-session.in b/gnome-session/gnome-session.in
index 5f4b303..530299d 100644
--- a/gnome-session/gnome-session.in
+++ b/gnome-session/gnome-session.in
@@ -12,6 +12,6 @@ if [ -n "$REGION" ]; then
export LC_PAPER=$REGION
fi
-dbus-update-activation-environment --all >& /dev/null ||:
+dbus-update-activation-environment --all > /dev/null 2>&1 ||:
exec @libexecdir@/gnome-session-binary "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]