Show More
@@ -25,7 +25,7 b' filediff(){' | |||
|
25 | 25 | file2=/dev/null |
|
26 | 26 | fi |
|
27 | 27 | |
|
28 | if cmp -s "$file1" "$file2"; then | |
|
28 | if cmp -s "$file1" "$file2" 2> /dev/null; then | |
|
29 | 29 | # Return immediately, because comparison isn't needed. This |
|
30 | 30 | # also avoids redundant message of diff like "No differences |
|
31 | 31 | # encountered" (on Solaris) |
General Comments 0
You need to be logged in to leave comments.
Login now