mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-15 05:36:17 +00:00
Edit getsession() for 0.9 config format
This commit is contained in:
@@ -104,7 +104,7 @@ d_stop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getsession() {
|
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
|
echo $session
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user