summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--src/wgtpkg-zip.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/TODO b/TODO
index 6e89fef..75cdee0 100644
--- a/TODO
+++ b/TODO
@@ -4,3 +4,4 @@ List of things to do
- more documentation
- notifications
- manage upgrade packages
+- use key facilities of kernel
diff --git a/src/wgtpkg-zip.c b/src/wgtpkg-zip.c
index 4b87a41..a810e50 100644
--- a/src/wgtpkg-zip.c
+++ b/src/wgtpkg-zip.c
@@ -415,8 +415,8 @@ int zwrite(const char *zipfile)
args[0] = "zip";
args[1] = "-q";
args[2] = "-r";
- args[3] = workdir;
- args[4] = zipfile;
+ args[3] = zipfile;
+ args[4] = workdir;
args[5] = NULL;
return zrun(PATH_TO_ZIP, args);