Fix return value of print_uptime