]> rtime.felk.cvut.cz Git - novaboot.git/blobdiff - server/novaboot-shell
server: Allow reset_cmd to contain a shell function name
[novaboot.git] / server / novaboot-shell
index bd16c4401a4a4d8625d74f549d8395c75c8fabc2..72d6d1ddd7273bdbe39dd8968febef2f5db14c56 100755 (executable)
@@ -122,7 +122,7 @@ run_subcommand() {
        "console")
            run_console "${console_cmd:?}";;
        "reset")
-           eval exec "${reset_cmd:?}";;
+           eval "${reset_cmd:?}";;
        "rsync --server "*" . .")
            if ! [ $# -eq 5 -o \( $# -eq 6 -a "$4" = '--log-format=X' \) ]; then
                die "Unexpected rsync invocation: $*"