summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-04-25 07:51:13 +0200
committerAaron Griffin <aaron@archlinux.org>2006-04-25 07:51:13 +0200
commit83ba77f28b2ace60bd8ac2bedf569f43f214a0b9 (patch)
treeb0d1317876687d2ddd253b30fcaaba34aa3597e6
parent7b6b2316bde86f21d44fdd3b5b3da5284c1bbdd1 (diff)
downloadmkinitcpio-83ba77f28b2ace60bd8ac2bedf569f43f214a0b9.tar.gz
mkinitcpio-83ba77f28b2ace60bd8ac2bedf569f43f214a0b9.tar.xz
fail quietly for symlinks
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@11 880c04e9-e011-0410-abf7-b926e227c9cd
-rw-r--r--functions4
1 files changed, 1 insertions, 3 deletions
diff --git a/functions b/functions
index f3e0800..78c59ae 100644
--- a/functions
+++ b/functions
@@ -58,10 +58,8 @@ add_symlink ()
msg " adding symlink ${dest}"
echo "slink ${dest} ${fil} $(stat -c '%a %u %g' ${fil})" >> "${FILELIST}"
fi
- else
- err "ERROR: file '${1}' is not a symlink"
- return 1
fi
+ #fail quietly
}
add_file ()