Ignore:
Timestamp:
Jul 3, 2018, 1:04:17 PM (17 months ago)
Author:
jrpelegrina
Message:

Added message when blockages are detected but there is some process running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-up/trunk/fuentes/lliurex-up-cli/usr/sbin/lliurex-upgrade

    r7449 r7635  
    688688                        os.execv("/usr/sbin/lliurex-upgrade",sys.argv)
    689689                else:
    690                         print  "  [Lliurex-Up]: The unlocking process has failed"
    691                         log_msg="The unlocking process has failed"
     690                        if result==1:
     691                                print  "  [Lliurex-Up]: The unlocking process has failed"
     692                                log_msg="The unlocking process has failed"
     693                        else:
     694                                print  "  [Lliurex-Up]: Some process are running. Wait a moment and try again"
     695                                log_msg="Some process are running. Wait a moment and try again"
     696       
    692697                        self.log(log_msg)
    693698                        sys.exit(1)
Note: See TracChangeset for help on using the changeset viewer.