Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rakshasa/rtorrent
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshasa committed Jun 9, 2019
2 parents 27811db + 8c8e73b commit 35d98c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/scripts/init/rtorrentInitScreen.bash
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ d_stop() {
}

getsession() {
session=$(cat "$1" | grep "^[[:space:]]*session[[:space:]]*=" | sed "s/^[[:space:]]*session[[:space:]]*=[[:space:]]*//" )
session=$(cat "$1" | grep "^[[:space:]]*session.path.set[[:space:]]*=" | sed "s/^[[:space:]]*session.path.set[[:space:]]*=[[:space:]]*//" )
#session=${session/#~/`getent passwd ${user}|cut -d: -f6`}
echo $session
}
Expand Down
2 changes: 1 addition & 1 deletion doc/scripts/init/rtorrentInitScreen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ d_stop() {
}

getsession() {
session=`cat "$1" | grep "^[[:space:]]*session[[:space:]]*=" | sed "s/^[[:space:]]*session[[:space:]]*=[[:space:]]*//" `
session=`cat "$1" | grep "^[[:space:]]*session.path.set[[:space:]]*=" | sed "s/^[[:space:]]*session.path.set[[:space:]]*=[[:space:]]*//" `
echo $session
}

Expand Down

0 comments on commit 35d98c9

Please sign in to comment.