summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-10 04:07:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-10 04:07:14 +0000
commitd7acc69661755cb5d7624b692fae8faee08a5e96 (patch)
tree2f41b7f6f64c38a2d9b855ce91a06c137f1c9a32 /usr/local
parent1ba9533cf1fbb69f44035d61e20a4cafb7f83e13 (diff)
downloadpfsense-d7acc69661755cb5d7624b692fae8faee08a5e96.zip
pfsense-d7acc69661755cb5d7624b692fae8faee08a5e96.tar.gz
Throw an error when we detect a non 0 return value
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/sbin/update_file.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/sbin/update_file.sh b/usr/local/sbin/update_file.sh
index c23af60..f41dee2 100755
--- a/usr/local/sbin/update_file.sh
+++ b/usr/local/sbin/update_file.sh
@@ -41,3 +41,9 @@ for file in $FMATCHES ;do
done
/etc/rc.conf_mount_ro
+
+if [ $? -eq 0 ]
+ echo "File updated."
+ else
+ echo "An error occured during update."
+fi \ No newline at end of file
OpenPOWER on IntegriCloud