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 /autoload.cpp | |
parent | 6a31457c6d764425f8039a6159e92b5f84a2a0c5 (diff) |
Clean up exec_subshell, removing al_list from it
Diffstat (limited to 'autoload.cpp')
-rw-r--r-- | autoload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload.cpp b/autoload.cpp index f7968ac3..2cbce79b 100644 --- a/autoload.cpp +++ b/autoload.cpp @@ -301,7 +301,7 @@ bool autoload_t::locate_file_and_maybe_load_it( const wcstring &cmd, bool really /* If we have a script, either built-in or a file source, then run it */ if (really_load && has_script_source) { - if( exec_subshell( script_source.c_str(), 0 ) == -1 ) + if( exec_subshell( script_source) == -1 ) { /* Do nothing on failiure |