Skip to content

Commit

Permalink
Replace [ 1 ] with true
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Planas <[email protected]>
  • Loading branch information
aplanas committed May 16, 2024
1 parent 0b1ab9e commit e3c07a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sbin/transactional-update.in
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ show_snapshot_status() {
ORIG_ARGS=("$@")

parse_args() {
while [ 1 ]; do
while true; do
if [ $# -eq 0 ]; then
break
fi
Expand Down Expand Up @@ -909,7 +909,7 @@ parse_args() {
usage 1
fi

while [ 1 ]; do
while true; do
if [ $# -eq 0 ]; then
break;
else
Expand Down Expand Up @@ -1016,7 +1016,7 @@ parse_args() {
DO_STATUS=1
DO_SELF_UPDATE=0
shift
while [ 1 ]; do
while true; do
[ $# -eq 0 ] && break
case "$1" in
last)
Expand Down

0 comments on commit e3c07a8

Please sign in to comment.