aboutsummaryrefslogtreecommitdiffhomepage
path: root/kill.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-07 23:35:41 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-07 23:35:41 -0800
commit5f686ebb478b461c3044261a84fc347072c1ff07 (patch)
treeb362f4609c405cd62e734ef926ee6dc92df5a66b /kill.cpp
parent6a31457c6d764425f8039a6159e92b5f84a2a0c5 (diff)
Clean up exec_subshell, removing al_list from it
Diffstat (limited to 'kill.cpp')
-rw-r--r--kill.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kill.cpp b/kill.cpp
index f766b03f..76dcb24e 100644
--- a/kill.cpp
+++ b/kill.cpp
@@ -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++ )