Navigation Menu

Skip to content

Commit

Permalink
[commands] Fix config command to accept zero arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Brown committed Oct 12, 2008
1 parent 8a4cceb commit 941b4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hci/commands/config_cmd.c
Expand Up @@ -16,7 +16,7 @@ static int config_exec ( int argc, char **argv ) {
}

settings_name = ( ( argc == 2 ) ? argv[1] : "" );
settings = find_settings ( argv[1] );
settings = find_settings ( settings_name );
if ( ! settings ) {
printf ( "No such scope \"%s\"\n", settings_name );
return 1;
Expand Down

0 comments on commit 941b4c2

Please sign in to comment.