Skip to content

Commit

Permalink
[neutron-sync-agent] Do not treat "$TMP_DIR/*" as file in `$TMP_DIR' is
Browse files Browse the repository at this point in the history
empty.
  • Loading branch information
eugeneia committed May 18, 2015
1 parent 6f0aa5a commit ae8b95c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ while true; do
git prune --expire 0
$NEUTRON2SNABB $NEUTRON_DIR $TMP_DIR >/dev/null
# Only (atomically) replace configurations that have changed.
for conf in $TMP_DIR/*; do
for conf in $(ls $TMP_DIR); do
dest=$SNABB_DIR/$(basename $conf)
echo "$dest"
if ! diff $conf $dest; then mv -f $conf $dest;
Expand Down

0 comments on commit ae8b95c

Please sign in to comment.