summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/concatfragments.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/concatfragments.sh b/files/concatfragments.sh
index 47663fd..aac827d 100644
--- a/files/concatfragments.sh
+++ b/files/concatfragments.sh
@@ -80,7 +80,7 @@ if [ x${WORKDIR} = "x" ]; then
fi
# can we write to -o?
-if [ -a ${OUTFILE} ]; then
+if [ -f ${OUTFILE} ]; then
if [ ! -w ${OUTFILE} ]; then
echo "Cannot write to ${OUTFILE}"
exit 1