Skip the Continue tags, as they're useless
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
78b1fe0087
commit
b5f498e51a
1 changed files with 0 additions and 2 deletions
|
@ -9,7 +9,6 @@
|
|||
## Check that pkl is newer than old pkl
|
||||
if [ /srv/mirrorlist/data/mirrorlist1/mirrorlist_cache.pkl -nt /srv/mirrorlist/data/mirrorlist2/mirrorlist_cache.pkl ]; then
|
||||
# new pkl
|
||||
continue
|
||||
else
|
||||
# No new pkl
|
||||
exit 0
|
||||
|
@ -17,7 +16,6 @@ fi
|
|||
## check mirrorlist1 running
|
||||
if [ `systemctl show mirrorlist1 -p ActiveState` == 'ActiveState=active' ]; then
|
||||
# mirrorlist1 is running ok
|
||||
continue
|
||||
else
|
||||
# mirrorlist1 not running, there is a problem
|
||||
echo "Error: mirrorlist1 is not running as expected"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue