Commit 9eacba06 authored by ssrq's avatar ssrq

[__file] Treat pre-exists as a special case in gencode-remote as it should never get there

parent 46d2487f
......@@ -61,7 +61,7 @@ set_mode() {
}
case "$state_should" in
present|exists|pre-exists)
present|exists)
# Note: Mode - needs to happen last as a chown/chgrp can alter mode by
# clearing S_ISUID and S_ISGID bits (see chown(2))
for attribute in group owner mode; do
......@@ -83,7 +83,11 @@ case "$state_should" in
# set-attributes is created if file is created or uploaded in gencode-local
fire_onchange=1
fi
;;
pre-exists)
# pre-exists should never reach gencode-remote…
exit 1
;;
absent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment