diff --git a/sync-kisisel b/sync-kisisel index dd5788d..c636eac 100755 --- a/sync-kisisel +++ b/sync-kisisel @@ -87,6 +87,8 @@ if [[ -f "$PLANET_DIR/$LOCK_FILE" ]]; then else echo "there's a sync process running behind, please try again later.." exit 1 + fi + fi touch "$PLANET_DIR/$LOCK_FILE" diff --git a/sync-lkd b/sync-lkd index be3dcef..4ea7f9e 100755 --- a/sync-lkd +++ b/sync-lkd @@ -87,6 +87,8 @@ if [[ -f "$PLANET_DIR/$LOCK_FILE" ]]; then else echo "there's a sync process running behind, please try again later.." exit 1 + fi + fi touch "$PLANET_DIR/$LOCK_FILE" diff --git a/sync-planet b/sync-planet index aab6da2..2cabebe 100755 --- a/sync-planet +++ b/sync-planet @@ -87,6 +87,8 @@ if [[ -f "$PLANET_DIR/$LOCK_FILE" ]]; then else echo "there's a sync process running behind, please try again later.." exit 1 + fi + fi touch "$PLANET_DIR/$LOCK_FILE" diff --git a/sync-topluluk b/sync-topluluk index d3aba84..31c4e76 100755 --- a/sync-topluluk +++ b/sync-topluluk @@ -87,6 +87,8 @@ if [[ -f "$PLANET_DIR/$LOCK_FILE" ]]; then else echo "there's a sync process running behind, please try again later.." exit 1 + fi + fi touch "$PLANET_DIR/$LOCK_FILE"