From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AItuEEWUcmfiOgAAe85BDQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 12:38:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AItuEEWUcmfiOgAAe85BDQ (envelope-from ) for ; Mon, 30 Dec 2024 13:38:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=itnMc3dA; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=l6MKqXIB; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735562309; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GCrryRaG+bnl7vUwoo6Jjm9BWABvWhJ/UdbtCgsjngM=; b=fGaP30AAY5eXDF4xvPiTCoHzchmNYQvcNBnHYYebmzmU6NaATBx/pOr/0rc0beleZiNjVU 6Ue9SglCqOnCvFFEI/gwUHlGmLPNrtqeHinkAvaUgstFBo++LsG+iiVPefFcsVShgsdRXI hTb2/+ZKeRsNp2A5mREmV6vazEYv0nNyNJMw0HfZPkl9N5vnIqA06FawZ6Xaw79cFPmCT7 x6vz2U+vra7MdDzD0ZOlcnOMAn/AxDrz6XxxwR+ww/mdkP8ZMJsVuY7OkQ1raqiCix/Qy6 y3lr6VY43dWwXS8kX16VVQXlsKbdl/jgS+KxQQUyaXCdeJEYx60HBj+VO398OQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=itnMc3dA; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=l6MKqXIB; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735562309; a=rsa-sha256; cv=none; b=MCgAAClRx3LufaEqEeBkBlUCefWs8oCU/CibLWVnByyk0LVnTJ5Q85yLUUBDaWqM3p8LEF aR+SXwmoahQYWOZMg8AOqjRN1kTO5u4jD+bJS8pJo7NMjK2ld5d1NBnmvZZOrGkDTWKHMc gC+ErTYEpcWgCnBsyrDxL5I8K1+bSqTF8DfP6TnSjZYzx0k3O4DVn9Wyuc4xVofhwwrOBU JvyVfpPrb5oP/9NCnrEZJeZohavi4GCcCaalnSBXd+LYmnZvJHj35f0gIg4cPR/+nJHPDg sY39lY1GvpDv1ysTfCT0GfxJ2b8utKBBlu1Yq7UCCXnxcb1tFQjoZ6G64lpqFg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E98A25696C for ; Mon, 30 Dec 2024 13:38:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSF27-0001HI-TN; Mon, 30 Dec 2024 07:38:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSF23-0001Gh-Vl for guix-patches@gnu.org; Mon, 30 Dec 2024 07:38:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSF23-0006h7-NB for guix-patches@gnu.org; Mon, 30 Dec 2024 07:38:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=GCrryRaG+bnl7vUwoo6Jjm9BWABvWhJ/UdbtCgsjngM=; b=itnMc3dAK3J/RDucmyV6zv0TYIiNXal1sgdEX5imdlsKzCzrdhuWONJyH4hC6FFMSpfueoU4W7SlxVW8HE7nCbTOZZL8UCRhfrIL42FwtbiTfaIZt5vRyzu/R0+hZlQBdKHl7W35ghjWfX6cXIZ9QYA205Hivd+gj8/5bABDEUpmMr+cwGVnVGl2pFUwEOHnvI5bq+E27u14TqkkXALh4sdeXj9eLgEDr6gCgaQbunLSbHnP2sh/jBl2BFDaGCtofCcYsz8I/OLDKOlWFygEu+GtqB0lP1sEGvo+fufp3pYTo9hCkBWP/6HLlCD1DRiRTvDRNQAvVKz5MUCYBIYc0Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSF22-0007L4-Mr for guix-patches@gnu.org; Mon, 30 Dec 2024 07:38:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75010] [PATCH 3/7] gnu: machine: ssh: Return monadic value from roll-back-managed-host. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75010 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Herman Rimm Cc: 75010@debbugs.gnu.org Received: via spool by 75010-submit@debbugs.gnu.org id=B75010.173556223728131 (code B ref 75010); Mon, 30 Dec 2024 12:38:02 +0000 Received: (at 75010) by debbugs.gnu.org; 30 Dec 2024 12:37:17 +0000 Received: from localhost ([127.0.0.1]:57688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSF1I-0007Jf-Lh for submit@debbugs.gnu.org; Mon, 30 Dec 2024 07:37:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSF1G-0007JL-Vb for 75010@debbugs.gnu.org; Mon, 30 Dec 2024 07:37:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSF19-0006db-TJ; Mon, 30 Dec 2024 07:37:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=GCrryRaG+bnl7vUwoo6Jjm9BWABvWhJ/UdbtCgsjngM=; b=l6MKqXIBvT0CYXVPs4TW 5RLmRGqwApUoa8oy1HnbwqJtA4t7AJu75smoqkqsXZ08/fpday7UFz6v9uPKS/wR5fMz59XCDlxJr zSbnO3TfPsNIuHWqnkl5Dnln2pcjKh3kOcT0hHVtEAM7ie5seM3I3Rsldg1v404L6pF3+OYVltJJd g0GDT7x3dKn5nO4nzx+T1Eobvh9miRFhecDDY0vYtRtrjTuKKpxOv8pWDHEn5G6uK2S19VWN0SnIV OFXHAkjCxUJBv9uyJLc2ShnefnVriop9GpnOkBBOwDL43iuAet7PaRLT1SksqgB8rS/0DFPSDkPqp lQECoAGKNumMzQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <9d7e69af958b651dd463d93822c0b493e201387a.1734798943.git.herman@rimm.ee> (Herman Rimm's message of "Sat, 21 Dec 2024 18:04:07 +0100") References: <9d7e69af958b651dd463d93822c0b493e201387a.1734798943.git.herman@rimm.ee> Date: Mon, 30 Dec 2024 13:36:40 +0100 Message-ID: <87ttals5yf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: E98A25696C X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.19 X-Spam-Score: -5.19 X-TUID: bYPsX+7q3746 Herman Rimm skribis: > * gnu/machine/ssh.scm (roll-back-managed-host): Use return. > > Change-Id: Ibe7ddd5758173a6835d8796c9c5ae5ba306b3334 [...] > - (_ (raise roll-back-failure)))) > + (mwhen (eqv? 'error remote-result) > + (return (raise roll-back-failure)))))) > + (_ (return (raise roll-back-failure))))) Definitely. :-) (=E2=80=98return=E2=80=99 could be omitted since it won=E2=80=99t return.) Ludo=E2=80=99.