Quite a few instances of "==" being present where a single "=" would do:
File: /etc/init.d/vz
Can they all be replaced with a single "=" safely?
Does the same apply to line 88 in the file: /etc/init.d/udev :
File: /etc/init.d/vz
Code:
Line 237:
$1 == "processor" { num++; }
Line 400:
awk '$2 == "yes" {print $1}')
Line 471:
mounts=`awk '{if ($3=="simfs") print $2}' /proc/mounts`
Can they all be replaced with a single "=" safely?
Does the same apply to line 88 in the file: /etc/init.d/udev :
Code:
echo 'ACTION=="add", SUBSYSTEM=="block", ENV{MAJOR}=="'$ROOT_MAJOR'", ENV{MINOR}=="'$ROOT_MINOR'", SYMLINK+="root"' \