summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.c b/src/commands.c
index 5418adc..18d94aa 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -61,8 +61,8 @@ int com_ls( char *arg )
int com_id( char *arg )
{
- if( !valid_argument( "id", arg ) )
- return( 1 );
+ if( !arg )
+ arg = "";
sprintf (syscom, "id %s", arg);
return( system( syscom ) );