summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2019-09-29 11:29:07 +0100
committerFreeArtMan <dos21h@gmail.com>2019-09-29 11:29:07 +0100
commit9b43d9de2981b2df96089919cd2e708b0f91d081 (patch)
treeaa645729074b3098f2b6eeacc47bea6f5b8db708
parentae51162f5f809937b36b09c186ff5348e861e347 (diff)
downloadihe-9b43d9de2981b2df96089919cd2e708b0f91d081.tar.gz
ihe-9b43d9de2981b2df96089919cd2e708b0f91d081.zip
Fixed crushing on empty arguments
-rw-r--r--cmd/cmd_open.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/cmd_open.c b/cmd/cmd_open.c
index b7ea4f7..d758598 100644
--- a/cmd/cmd_open.c
+++ b/cmd/cmd_open.c
@@ -19,8 +19,6 @@ int c_open( cmd_arg_t *arg )
char *fname = NULL;
int fret = 0;
- printf("%s\n",argv[0]);
-
if ( argc != 1 )
{
printf("Neeed one argument %d\n",argc);