aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/jail-commit
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-xtrunk/src/jail-commit6
1 files changed, 6 insertions, 0 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index 59fccad..45aea1e 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -56,6 +56,12 @@ function template_merge {
owner="`get_owner $1/$file`"
group="`get_group $1/$file`"
echo "$file;$owner;$group;$perms" >> $TEMPLATE_BASE.perms
+ else
+ if [ ! -f "$file" ]; then
+ echo $BASENAME: warning: missing file $file
+ else
+ echo $BASENAME: warning: missing template file $1/$file
+ fi
fi
done