]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-snapshot.c
ui-snapshot.c: Fill argv[0] with dummy.
[ps-cgit] / ui-snapshot.c
index 281899de0b01222d1e9453c3ca7385151334fec9..54e659c859200ff8d3d70374a11a293859e81745 100644 (file)
@@ -14,6 +14,7 @@
 static int write_archive_type(const char *format, const char *hex, const char *prefix)
 {
        struct argv_array argv = ARGV_ARRAY_INIT;
+       argv_array_push(&argv, "snapshot");
        argv_array_push(&argv, format);
        if (prefix) {
                argv_array_push(&argv, "--prefix");