summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-14 17:03:53 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-14 17:03:53 +0200
commit6bc48bb27a50d711cb104d010998a1c1cee6e8d2 (patch)
tree8e772ba8622d050c749cc8582084c9169b906b3d /sfeed_update
parent84831ac69e9a20800a50a902aa5e7000168f3d45 (diff)
minor code-style improvements
Diffstat (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_update b/sfeed_update
index c2c91bc..99cb517 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -42,9 +42,9 @@ merge() {
# fetchfeed(url, name, feedfile)
fetchfeed() {
if curl -f -s -S --max-time 15 -z "$3" "$1"; then
- printf " OK %s %s\n" "`date +'%H:%M:%S'`" "$2" >&2
+ printf " OK %s %s\n" "$(date +'%H:%M:%S')" "$2" >&2
else
- printf "FAIL %s %s\n" "`date +'%H:%M:%S'`" "$2" >&2
+ printf "FAIL %s %s\n" "$(date +'%H:%M:%S')" "$2" >&2
fi
}