summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/euse1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/euse b/bin/euse
index 10f75b0..ca9835e 100755
--- a/bin/euse
+++ b/bin/euse
@@ -520,6 +520,7 @@ modify() {
(while [ "$x" -eq "0" ]; do
read -r line
x="$?"
+ [[ "${x}" -ne "0" ]] && break
[ "${line:0:4}" == "USE=" ] && inuse=1
[ "${inuse}" == "0" ] && echo -E "${line}"
if [ "${inuse}" == "1" ] && echo "${line}" | egrep '" *(#.*)?$' > /dev/null; then