mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/UPGRADE: --home and --config parameters weren't passed to new irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2122 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7bdd1cbec9
commit
72d943acdb
@ -105,7 +105,8 @@ static void cmd_upgrade(const char *data)
|
|||||||
/* irssi -! --session ~/.irssi/session
|
/* irssi -! --session ~/.irssi/session
|
||||||
data may contain some other program as well, like
|
data may contain some other program as well, like
|
||||||
/UPGRADE /usr/bin/screen irssi */
|
/UPGRADE /usr/bin/screen irssi */
|
||||||
str = g_strdup_printf("%s -! --session %s", data, session_file);
|
str = g_strdup_printf("%s --noconnect --session=%s --home=%s --config=%s",
|
||||||
|
data, session_file, get_irssi_dir(), get_irssi_config());
|
||||||
session_args = g_strsplit(str, " ", -1);
|
session_args = g_strsplit(str, " ", -1);
|
||||||
g_free(str);
|
g_free(str);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user