Skip to content

Commit

Permalink
Fix extra ")"
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Jun 25, 2023
1 parent 9a448cd commit 47679c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/appimagetool.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ gchar *updateinformation = NULL;
static gboolean guess_update_information = FALSE;
gchar *bintray_user = NULL;
gchar *bintray_repo = NULL;
gchar *sqfs_comp = "zstd";
gchar *sqfs_comp = "";
gchar **sqfs_opts = NULL;
gchar *exclude_file = NULL;
gchar *runtime_file = NULL;
Expand Down Expand Up @@ -617,7 +617,7 @@ main (int argc, char *argv[])
if (showVersionOnly)
exit(0);

if(!((0 == strcmp(sqfs_comp, "zstd")) || strcmp(sqfs_comp, "gzip")) || (0 ==strcmp(sqfs_comp, "xz"))))
if (!((0 == strcmp(sqfs_comp, "zstd")) || strcmp(sqfs_comp, "gzip") || (0 == strcmp(sqfs_comp, "xz"))))
die("Only zstd (recommended), gzip (faster execution, larger files) and xz (slower execution, smaller files) compression is supported at the moment. Let us know if there are reasons for more, should be easy to add. You could help the project by doing some systematic size/performance measurements. Watch for size, execution speed, and zsync delta size.");
/* Check for dependencies here. Better fail early if they are not present. */
if(! g_find_program_in_path ("file"))
Expand Down

0 comments on commit 47679c9

Please sign in to comment.