2024-01-01 11:31:45 +01:00
|
|
|
// Copyright (C) 2019 Nicola Murino
|
2022-07-17 20:16:00 +02:00
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero General Public License as published
|
|
|
|
// by the Free Software Foundation, version 3.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU Affero General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
2023-01-03 10:18:30 +01:00
|
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2022-07-17 20:16:00 +02:00
|
|
|
|
2019-11-26 22:26:42 +01:00
|
|
|
package sftpd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os/exec"
|
|
|
|
)
|
|
|
|
|
2022-07-19 23:28:33 +02:00
|
|
|
func wrapCmd(cmd *exec.Cmd, _, _ int) *exec.Cmd {
|
2019-11-26 22:26:42 +01:00
|
|
|
return cmd
|
|
|
|
}
|