ltp-testsuite-sh-is-not-C-code.patch 266 B

1234567891011
  1. --- ltp-full-20061121/IDcheck.sh.orig 2006-12-07 22:31:29.000000000 -0700
  2. +++ ltp-full-20061121/IDcheck.sh 2006-12-07 22:32:58.000000000 -0700
  3. @@ -85,7 +85,7 @@
  4. fi
  5. whoami | grep root > /dev/null
  6. -if [ $? == "0" ]; then
  7. +if [ $? = "0" ]; then
  8. I_AM_ROOT=1
  9. fi