aboutsummaryrefslogtreecommitdiffstats
path: root/bin/ykfde-cpio.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-12-29 13:44:52 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-12-29 13:44:52 +0100
commitf567df1043b845749f9db83cbca43c46ff80fe61 (patch)
treef4407dfda99834d1cfc9642e344cbb101b26198f /bin/ykfde-cpio.c
parent0cf8fd15a47433c3b6258f0932d3a71fe9a0ba31 (diff)
downloadmkinitcpio-ykfde-f567df1043b845749f9db83cbca43c46ff80fe61.tar.gz
mkinitcpio-ykfde-f567df1043b845749f9db83cbca43c46ff80fe61.tar.zst
do not create directory '.' in archive
This has been changes in mkinitcpio, so we do it the same. https://projects.archlinux.org/mkinitcpio.git/commit/?id=514d5f1fa641b0bfc66d43f4c0c7e7830f747899
Diffstat (limited to 'bin/ykfde-cpio.c')
-rw-r--r--bin/ykfde-cpio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/ykfde-cpio.c b/bin/ykfde-cpio.c
index 71a39db..ca6f61b 100644
--- a/bin/ykfde-cpio.c
+++ b/bin/ykfde-cpio.c
@@ -96,11 +96,6 @@ int main(int argc, const char **argv) {
goto out10;
}
- if ((rc = add_dir(archive, ".")) < 0) {
- fprintf(stderr, "add_dir() failed");
- goto out10;
- }
-
while (1) {
path = strdup(CHALLENGEDIR + 1);
if (strstr(path + pathlength, "/") == NULL)