remove unecessary empty lines (interrupts read flow)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-28 18:09:35 +02:00
parent ba0bc4d02b
commit 29b61f38ea

View file

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