This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function subclass(base, child) { | |
function temp() {} | |
temp.prototype = base.prototype; | |
child.prototype = new temp; | |
} | |
function a(){} | |
a.prototype = {foo: 'bar'}; | |
function b(){} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/smartmontools b/smartmontools | |
index 975c018..89feba5 100755 | |
--- a/smartmontools | |
+++ b/smartmontools | |
@@ -127,7 +127,7 @@ case "$1" in | |
fi | |
;; | |
status) | |
- status_of_proc -p $SMARTDPID $SMARTD smartd && exit 0 || exit $? | |
+ status_of_proc -p $PIDFILE smartd smartd && exit 0 || exit $? |
OlderNewer