diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-27 05:22:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-27 05:22:43 +0000 |
commit | d37d6496c723cff85d7141872a9b388bd700d487 (patch) | |
tree | 1e161dd78afeb9ae1db35641108f2fe9d549c76b | |
parent | 4ebeac03600bd0fda495c5c7752ca27dbdc2e8ed (diff) |
just exec the cat
-rwxr-xr-x | extra/scripts/getent | 3 |
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 |