Added newline to warning.
This commit is contained in:
parent
b31823d6c0
commit
016415d99a
|
@ -44,8 +44,8 @@ function $cmd -V cmd -d "Perform a command repetitively until successful"
|
||||||
# Output, or not, the attempt count
|
# Output, or not, the attempt count
|
||||||
if not set --query _flag_quiet
|
if not set --query _flag_quiet
|
||||||
set --query _flag_attempts
|
set --query _flag_attempts
|
||||||
and wrn -on "Insisting... Attempt $count of $_flag_attempts"
|
and wrn -o "Insisting... Attempt $count of $_flag_attempts"
|
||||||
or wrn -on "Insisting... Attempt $count"
|
or wrn -o "Insisting... Attempt $count"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Stop the function, or not, if the command was performed successfuly
|
# Stop the function, or not, if the command was performed successfuly
|
||||||
|
@ -61,4 +61,4 @@ function $cmd -V cmd -d "Perform a command repetitively until successful"
|
||||||
and command sleep $_flag_interval
|
and command sleep $_flag_interval
|
||||||
or command sleep 1
|
or command sleep 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue