syncNC return value, youtubelist path
This commit is contained in:
1 parent
07e24ad97e
commit
a6bd1c2d1a
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -264,12 +264,13 @@ main() {
|
||||
|
||||
if pgrep -x "nextcloudcmd" >/dev/null; then
|
||||
echo "Nextcloud sync is already active, stopping."
|
||||
return 0
|
||||
return 1
|
||||
fi
|
||||
|
||||
echo "Starting Nextcloud synchronization..."
|
||||
|
||||
sync_all
|
||||
return $?
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
Reference in new issue
Block a user