Skip to content

Commit e3a369b

Browse files
redirect output for grep
1 parent 161ce8c commit e3a369b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esxi-fix-pam-ssh-auth.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
grep '^#PAMFix' /etc/rc.local.d/local.sh
3+
grep '^#PAMFix' /etc/rc.local.d/local.sh > /dev/null 2>&1
44

55
if [ $? != 0 ]
66
then

0 commit comments

Comments
 (0)