remove unecessary empty lines (interrupts read flow)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
ba0bc4d02b
commit
29b61f38ea
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue