Skip to content

Commit cb3f602

Browse files
authored
Improve appimagetool error messages
Re-applying a4fed71, thanks @orivej
1 parent b5ece7a commit cb3f602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appimagetool.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ main (int argc, char *argv[])
454454
sprintf (command, "%s appdata-from-desktop %s %s", g_find_program_in_path ("appstream-util"), desktop_file, appdata_path);
455455
int ret = system(command);
456456
if (ret != 0)
457-
die("Failed to generate a template");
458-
fprintf (stderr, "A template has been generated in in %s, please edit it\n", appdata_path);
457+
die("Failed to generate AppStream template");
458+
fprintf (stderr, "AppStream template has been generated in in %s, please edit it\n", appdata_path);
459459
exit(1);
460460
}
461461
} else {

0 commit comments

Comments
 (0)