diff options
-rwxr-xr-x | linux/bin/uiae | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/bin/uiae b/linux/bin/uiae index 9239b81..c04f974 100755 --- a/linux/bin/uiae +++ b/linux/bin/uiae @@ -83,23 +83,23 @@ if [ -z ${DISPLAY} ]; then if [ -e "${PATH_SETLEDS}" ]; then if [ "${NUM_LOCK_STATUS}" = "on" ]; then - "${PATH_SETLEDS}" -num || die "Failed to set num lock status to on." + "${PATH_SETLEDS}" -num || echo "Failed to set num lock status to on." >&2 else - "${PATH_SETLEDS}" +num || die "Failed to set num lock status to off." + "${PATH_SETLEDS}" +num || echo "Failed to set num lock status to off." >&2 fi else - die "setleds does not exist, cannot set NUM status." + echo "setleds does not exist, cannot set NUM status." >&2 fi else if [ -e "${PATH_XSET}" ]; then for modifier in 51 94; do - "${PATH_XSET}" r ${modifier} || die "Failed to set repeat for modifier ${modifier}." + "${PATH_XSET}" r ${modifier} || echo "Failed to set repeat for modifier ${modifier}." >&2 done for deadkey in 21 35 49; do - "${PATH_XSET}" r ${deadkey} || die "Failed to set repeat for deadkey ${deakey}." + "${PATH_XSET}" r ${deadkey} || echo "Failed to set repeat for deadkey ${deakey}." >&2 done else - die "xset not found, cannot set modifiers and dead keys." + echo "xset not found, cannot set modifiers and dead keys." >&2 fi case "${STD_X_VARIANTE}" in |