aboutsummaryrefslogtreecommitdiffstats
path: root/bin/xvt
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2010-03-15 16:54:17 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2010-03-15 16:54:17 +0000
commit037d5a646b4188df319789f237a9c96a901d4bf0 (patch)
treef5ad1b48d1c0eb24a3c16b4745dd101afc9f489b /bin/xvt
parent502e8c19844ad227f9ce666802d1a17c15b44873 (diff)
downloadcommon-data-037d5a646b4188df319789f237a9c96a901d4bf0.tar
common-data-037d5a646b4188df319789f237a9c96a901d4bf0.tar.gz
common-data-037d5a646b4188df319789f237a9c96a901d4bf0.tar.bz2
common-data-037d5a646b4188df319789f237a9c96a901d4bf0.tar.xz
common-data-037d5a646b4188df319789f237a9c96a901d4bf0.zip
start konsole as nofork
Diffstat (limited to 'bin/xvt')
-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"