remove unecessary empty lines (interrupts read flow)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.5
Nico Schottelius 14 years ago
parent ba0bc4d02b
commit 29b61f38ea
  1. 3
      bin/cdist-object-run-all

@ -40,7 +40,6 @@ while [ -f "$__cdist_new_objects_created" ]; do
# Get listing of objects
__cdist_object_list "$__cdist_out_object_dir" > "$__cdist_objects"
# NEED TO CREATE ARRAY, SSH DESTROYS WHILE READ LOOP
while read __cdist_object; do
set -- "$@" "$__cdist_object"
@ -60,7 +59,5 @@ while [ -f "$__cdist_new_objects_created" ]; do
# Process the object
cdist-object-run "$__cdist_target_host" "$__cdist_object"
done
done

Loading…
Cancel
Save