aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/scr.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/scr.bash')
-rw-r--r--bash/bashrc.d/scr.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/scr.bash b/bash/bashrc.d/scr.bash
index 82d3fb5e..ff82b10a 100644
--- a/bash/bashrc.d/scr.bash
+++ b/bash/bashrc.d/scr.bash
@@ -7,7 +7,7 @@ scr() {
else
printf 'bash: %s: too many arguments\n' \
"$FUNCNAME" >&2
- return 1
+ return 2
fi
}