From ab855b467944055f50534db434773947f90cc37e Mon Sep 17 00:00:00 2001 From: mollusk Date: Fri, 13 Sep 2019 19:55:18 -0700 Subject: [PATCH] parlink.sh: exit upon wrong argument message Former-commit-id: cc6436497e23372d3fb4ac25970fab4b648e49e5 --- parlink.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/parlink.sh b/parlink.sh index 132e0e6..4e12603 100755 --- a/parlink.sh +++ b/parlink.sh @@ -84,12 +84,13 @@ set_video_driver(){ else echo -e "${LRED}Accepted Options:\n - intel-old : (uses i965 driver) - intel-modern : (uses iHD driver) - nvidia : (uses vdpau driver) - nouveau : (uses nouveau driver) - radeon: (uses the radeonsi driver) - catalyst: (uses fglx driver)${NC}" + intel-old : (uses i965 driver) + intel-modern : (uses iHD driver) + nvidia : (uses vdpau driver) + nouveau : (uses nouveau driver) + radeon: (uses the radeonsi driver) + catalyst: (uses fglx driver)${NC}" + exit 1 fi }