am e407eedc: Merge "Don\'t fork and exec ls when the shell can stat files."

* commit 'e407eedc064aba5ce4e2580d39a7b5926f5e9a7e':
  Don't fork and exec ls when the shell can stat files.
diff --git a/dhcpcd-run-hooks b/dhcpcd-run-hooks
index 8b68c69..a39a133 100755
--- a/dhcpcd-run-hooks
+++ b/dhcpcd-run-hooks
@@ -25,7 +25,7 @@
 			*/[0-9][0-9]"-${skip}.sh")	continue 2;;
 		esac
 	done
-	if ls "${hook}" >/dev/null 2>&1; then
+	if [ -f "${hook}" ]; then
 		. "${hook}"
 	fi
 done