Skip to content

Commit

Permalink
install-autotest-server.sh: Fail when distro is not supported
Browse files Browse the repository at this point in the history
If the distro is not supported, the script must exit
with return code != 0.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
  • Loading branch information
lmr committed Apr 4, 2013
1 parent 0627789 commit f3dbebb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/install-autotest-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,8 @@ full_install() {
print_install_status
print_version_and_url
else
print_log "Sorry, I can't recognize your distro, exiting..."
print_log "ERROR" "Sorry, I can't recognize your distro, exiting..."
exit 1
fi
fi
}
Expand Down

0 comments on commit f3dbebb

Please sign in to comment.