aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC Erler <erlercw+githubcommit@gmail.com>2013-02-09 07:56:44 -0500
committerC Erler <erlercw+githubcommit@gmail.com>2013-02-09 07:56:44 -0500
commitf3181f0553c92c83eab6cc3757f7164147299145 (patch)
tree6c4ee299a75e78a86a7337fbebc3d649307d4631
parentf0ceb7a75eb7eaa14f9e277f403aea13641aa976 (diff)
downloadtemp-throttle-f3181f0553c92c83eab6cc3757f7164147299145.tar.gz
Corrected spelling of Celsius and used name of actual script in case someone changed it from temp_throttle.sh
-rw-r--r--temp_throttle.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/temp_throttle.sh b/temp_throttle.sh
index a251765..e282bbf 100644
--- a/temp_throttle.sh
+++ b/temp_throttle.sh
@@ -1,12 +1,12 @@
#!/bin/bash
# temp_throttle.sh max_temp
-# USE CELCIUS TEMPERATURES.
+# USE CELSIUS TEMPERATURES.
if [ $# -ne 1 ]; then
- # If tempurature wasn't given, then print a message and exit.
- echo "Please supply a maximum desired temperature in Celcius." 1>&2
- echo "For example: temp_throttle.sh 60" 1>&2
+ # If temperature wasn't given, then print a message and exit.
+ echo "Please supply a maximum desired temperature in Celsius." 1>&2
+ echo "For example: ${0} 60" 1>&2
exit 2
else
#Set the first argument as the maximum desired temperature.