---
name: "EXIT"
section: "7"
platform: "linux"
package: "slony1-doc"
version: "1.2.15-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/EXIT"
---

# EXIT(7)

Terminate Slonik script with signal

## NAME

EXIT - Terminate Slonik script with signal

## SYNOPSIS

**exit**  \[ *\[-\]ival*\]

## DESCRIPTION

Terminates script execution immediately, rolling back every open transaction on all database connections. The slonik utility will return the given value as its program termination code.

## EXAMPLE

```
FC     EXIT 0;
    F[0]
```

## VERSION INFORMATION

This command was introduced in Slony-I 1.0
