diff --git a/source/bforce/sess_call.c b/source/bforce/sess_call.c index b0ef1e4..62538ed 100644 --- a/source/bforce/sess_call.c +++ b/source/bforce/sess_call.c @@ -669,7 +669,7 @@ do_session: errmsg = "cannot lock address"; gotoexit(BFERR_SYSTEM_LOCKED); } - if( strlen(state.override.run) > 0 ) + if( NULL != state.override.run && strlen(state.override.run) > 0 ) { if ( (runrc = system(state.override.run) != 0 )) {