1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-06 03:50:08 +02:00

shorter logs

This commit is contained in:
B. Petersen 2018-06-26 12:39:22 +02:00
parent be2f5ce9ed
commit 11fedc1571
4 changed files with 4 additions and 5 deletions

View file

@ -219,9 +219,8 @@ int main(int argc, char ** argv)
/* open database from the commandline (if omitted, it can be opened using the `open`-command) */
if( argc == 2 ) {
printf("Opening %s ...\n", argv[1]);
if( !dc_open(mailbox, argv[1], NULL) ) {
printf("ERROR: Cannot open mailbox.\n");
printf("ERROR: Cannot open %s.\n", argv[1]);
}
}
else if( argc != 1 ) {