summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ktshell18
1 files changed, 1 insertions, 17 deletions
diff --git a/scripts/ktshell b/scripts/ktshell
index c3971b9..45979e0 100755
--- a/scripts/ktshell
+++ b/scripts/ktshell
@@ -341,23 +341,7 @@ init () {
break
done
fi
- local IFS='
- '
- sessnms=( `dcop --user $usernm --list-sessions | tail -n +2 | head -n -1` )
- unset IFS
- if (( ${#sessnms[*]} == 0 )); then
- echo "Found no session."
- exit 1
- fi
- echo "Found a DCOP session."
- sessnm=${sessnms[0]}
- if (( ${#sessnms[*]} > 1 )); then
- echo "Which session of the user's DCOP server do you wish to connect to?"
- select sessnm in ${sessnms[*]}; do
- break
- done
- fi
- dcop="dcop --user $usernm --session $sessnm"
+ dcop="dcop --user $usernm"
ktorrents=( `$dcop 2>/dev/null` )
if (( $? != 0 )); then
echo "Cannot connect to the DCOP server."