Skip to content

Commit

Permalink
Update gic.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Base committed Nov 29, 2018
1 parent d6b0f86 commit 388d766
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion gic.c
Expand Up @@ -24,9 +24,29 @@ int main(int argc,char** argv)
{
help_init();
}
else if(argument->type == CommandCheck)
{
git_checks();
}
else if(argument->type == CommandClone)
{
puts(argument->value);
if( git_checks() )
{
if(argument->value)
{
clone_error();
return EXIT_FAILURE;//not success
}
else
{
clone_empty();
return EXIT_FAILURE;//not success
}
}
else
{
return EXIT_FAILURE;//not success
}
}
else
{
Expand Down

0 comments on commit 388d766

Please sign in to comment.