summaryrefslogtreecommitdiff
path: root/extra/scripts
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-27 05:22:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-27 05:22:43 +0000
commitd37d6496c723cff85d7141872a9b388bd700d487 (patch)
tree1e161dd78afeb9ae1db35641108f2fe9d549c76b /extra/scripts
parent4ebeac03600bd0fda495c5c7752ca27dbdc2e8ed (diff)
just exec the cat
Diffstat (limited to 'extra/scripts')
-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