summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/scripts/getent3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/scripts/getent b/extra/scripts/getent
index 9ffffa171..4bd68151e 100755
--- a/extra/scripts/getent
+++ b/extra/scripts/getent
@@ -65,8 +65,7 @@ case $1 in
esac
if [ -z "$2" ] ; then
- cat $file
- retval=$?
+ exec cat $file
else
search_entry "$file" "$2"
fi