diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 23:35:41 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 23:35:41 -0800 |
commit | 5f686ebb478b461c3044261a84fc347072c1ff07 (patch) | |
tree | b362f4609c405cd62e734ef926ee6dc92df5a66b /kill.cpp | |
parent | 6a31457c6d764425f8039a6159e92b5f84a2a0c5 (diff) |
Clean up exec_subshell, removing al_list from it
Diffstat (limited to 'kill.cpp')
-rw-r--r-- | kill.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,7 +126,7 @@ void kill_add( wchar_t *str ) if (cmd != NULL) { - if( exec_subshell( cmd, 0 ) == -1 ) + if( exec_subshell( cmd) == -1 ) { /* Do nothing on failiure @@ -224,7 +224,7 @@ static void kill_check_x_buffer() wcstring cmd = L"xsel -t 500 -b"; wcstring new_cut_buffer=L""; wcstring_list_t list; - if( exec_subshell2( cmd, list ) != -1 ) + if( exec_subshell( cmd, list ) != -1 ) { for( i=0; i<list.size(); i++ ) |