summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/modules/frontend7
-rw-r--r--backend/modules/hdmap9
2 files changed, 7 insertions, 9 deletions
diff --git a/backend/modules/frontend b/backend/modules/frontend
index 8c6c87c..0463863 100644
--- a/backend/modules/frontend
+++ b/backend/modules/frontend
@@ -19,3 +19,10 @@ function send_error()
return 1
}
+function emit_progress()
+{
+ percent=$1
+ [ "$percent" -gt 100 ] && percent=100
+ send progress "$percent"
+}
+
diff --git a/backend/modules/hdmap b/backend/modules/hdmap
index 50f1bc5..93d321f 100644
--- a/backend/modules/hdmap
+++ b/backend/modules/hdmap
@@ -21,15 +21,6 @@ cat <<"EOT"
EOT
}
-# FIXME TODO OLD OUTDATED
-function emit_progress()
-{
- percent=$1
- [ "$percent" -gt 100 ] && percent=100
- send progress "$percent"
-}
-
-
# Synopsis: is_disk /dev/xyz
#
# This function returns 0 if the supplied argument is a disk.