about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-08-11 22:00:40 -0400
committerCharadon <dev@iotib.net>2022-08-11 22:00:40 -0400
commit5eec8261658d0e629750669bf02080a25c75b26c (patch)
tree07fd6b909b148bb9262731dc677c0bd21ae4a27c
parent906afa4bdb6c2cf1980311a4f771a5af872d04b5 (diff)
downloaddscip-5eec8261658d0e629750669bf02080a25c75b26c.tar.gz
Added [dscip] to output, mostly for use in daemons.
-rwxr-xr-xdscip10
1 files changed, 5 insertions, 5 deletions
diff --git a/dscip b/dscip
index 520a169..8532b9f 100755
--- a/dscip
+++ b/dscip
@@ -29,14 +29,14 @@ if [ "$DSCIP_AUTO_UPDATE" = "true" ]; then
 	DSCIP_NEW_CKSUM="$(cksum "$0")"
 	# Rerun dscip if update was found.
 	if [ ! "$DSCIP_CKSUM" = "$DSCIP_NEW_CKSUM" ]; then
-		echo "Update found. Rerunning DSCIP..."
+		echo "[dscip] Update found. Rerunning DSCIP..."
 		"$SHELL" "$0" "$@"
 		exit 0
 	else
-		echo "No updates found. Continuing..."
+		echo "[dscip] No updates found. Continuing..."
 	fi
 else
-	echo "Auto updates turned off. Continuing..."
+	echo "[dscip] Auto updates turned off. Continuing..."
 fi
 
 ################################################################################
@@ -57,11 +57,11 @@ if [ -f "$WORKING_DIRECTORY/LOCK" ]; then
 	# shellcheck disable=SC2009
 	for i in $(pgrep -f "$0"); do
 		if [ "$i" = "$LOCKED_PID" ]; then
-			echo "Script still running. Exiting..."
+			echo "[dscip] Script still running. Exiting..."
 			exit 0
 		fi
 	done
-	echo "Script not running. Removing old lock."
+	echo "[dscip] Script not running. Removing old lock."
 	rm -f "$WORKING_DIRECTORY/LOCK"
 fi
 
1173ddc315f21a3d468f43ac55aa43d31883d'>d1a1173d ^
b3660b9a ^
d1a1173d ^
3b96a37f ^
0267251a ^

3b96a37f ^



4feb2e15 ^
666cb102 ^
b38b4dd1 ^
3b96a37f ^
3b96a37f ^
8a5944e1 ^

3cd8a402 ^
c0f2fc72 ^
3cd8a402 ^
d1a1173d ^








d1a1173d ^
e6b847b3 ^
225aa78f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52