diff --git a/v2/engine/execnt.c b/v2/engine/execnt.c index 5c91a727f..e51acccb5 100644 --- a/v2/engine/execnt.c +++ b/v2/engine/execnt.c @@ -651,7 +651,7 @@ static long raw_command_length( char const * command ) case '"': case '\'': - if ( ( p > command ) && ( p[ -1 ] != '\\' ) ) + if ( ( p == command ) || ( p[ -1 ] != '\\' ) ) { if ( inquote == *p ) inquote = 0;