aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2010-04-19 12:12:00 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2010-04-19 12:12:00 +0000
commit966d2c7139d3702894d33e473532a5d77c046136 (patch)
treebc76bbd27e55e658f81fd4e6a149f4d533b54062
parent19dd0ec55def61b1c77b1ea50637325eb1b68d41 (diff)
downloadcommon-data-966d2c7139d3702894d33e473532a5d77c046136.tar
common-data-966d2c7139d3702894d33e473532a5d77c046136.tar.gz
common-data-966d2c7139d3702894d33e473532a5d77c046136.tar.bz2
common-data-966d2c7139d3702894d33e473532a5d77c046136.tar.xz
common-data-966d2c7139d3702894d33e473532a5d77c046136.zip
start konsole as nofork
-rwxr-xr-xbin/xvt5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/xvt b/bin/xvt
index b0215bf..2190461 100755
--- a/bin/xvt
+++ b/bin/xvt
@@ -55,6 +55,11 @@ if [[ -z "$TERMINAL" ]]; then
fi
if [[ -n "$TERMINAL" ]]; then
+ # keep the same behaviour between all terminals
+ if [[ "`basename ${TERMINAL%% *}`" = "konsole" ]]; then
+ TERMINAL="$TERMINAL --nofork"
+ fi
+
exec $TERMINAL "$@"
else
echo "no terminal emulator detected"